April 1, 2017 at 4:26 pm #72563digitaloutpostsMember
Hi Admin, the referral link is [http://snapstays.com/?ap_id=edomi]. The checkout page is this one: [http://snapstays.com/payment/]
If you email me, I can send you the log info.April 2, 2017 at 12:32 am #72564
I have sent you an email.March 27, 2020 at 12:09 pm #72565
I am using the official Gravity Forms Stripe Add-On gravityforms.com/add-ons/stripe/ and not the separate WordPress plugin which no longer seems to be active on WordPress. I have two forms being used with the Stripe Add-On for sales as well as another lead capture form with Gravity Form Lead Capture settings enabled. While leads are successfully being logged, no sales are being captured. I’ve checked the Gravity Forms Integration settings and everything seems to be in check.
Any help would be greatly appreciated.March 29, 2020 at 3:28 am #72566
Let me investigate this. There a few different gravity forms integration that we have. Can you please give me the URL of the documentation that you are following? Then I will have an idea of what you are going for and what I should investigate.
All the available documentation links are listed here:April 2, 2020 at 2:49 pm #72567
Certainly. I have followed this tutorial and checked the box to enable Gravity Forms Stripe Checkout:
Let me know what can be done.April 3, 2020 at 2:32 am #72568
Thank you. That one should work fine with the stripe addon from Gravityforms team. Can you please enable the debug option in our affiliate plugin then do a test run?
Check the log file after the test run, do you see the following line in there somewhere?
GF Stripe integration - gform_stripe_webhook. Action type ......April 7, 2020 at 7:30 pm #72569
Thanks. I just ran a test, and looking at the log file it appears as if the affiliate plugin is indeed recording the sale, however it is not crediting the sale to any affiliate. As a test, I clicked one of our test affiliate links right before filling out the test form.
Here is the log file. As you can see, the click is tracked and the ap_id is added to my cookie, yet when I go right to make a purchase, it records the purchase as not an affiliate referral.
[04/07/2020 7:20 PM] – SUCCESS :GF integration… adding ap_id meta data to entry (877) with value: XXXX
[04/07/2020 7:20 PM] – SUCCESS :GF Stripe integration – gform_stripe_webhook. Action type: , Entry ID: , Referrer ID:
[04/07/2020 7:20 PM] – SUCCESS :GF Stripe integration – reading referrer ID from the browser, Referrer ID:
[04/07/2020 7:20 PM] – SUCCESS :GF Stripe integration – The referrer ID is empty for this entry. This is not an affiliate referred transaction.
As this is only a test account, I obviously set the commission rate to zero. That shouldn’t be a problem, should it?April 8, 2020 at 2:30 am #72570
Looks like the action data is completely empty. That gravity forms hook is suppose to pass more data that our plugin reads and then acts on it.
The commission rate shouldn’t be an issue here.
Can you please ask the Gravity forms support why their following action hook could pass empty values for the $action parameter?
The folloiwng is the hook that we use in our plugin. At the moment, it looks like the $action parameter is empty on this site:April 8, 2020 at 6:55 am #72571
Thank you once again for your helpful reply.
Looking at the Gravity Forms documentation, are you saying that there is a code snippet I must add to our website’s functions.php? I checked our file and none of the code snippets that Gravity Forms mentions are in our website currently. I obviously haven’t added anything yet as your instructions haven’t told me to.April 8, 2020 at 11:24 pm #72572
No no. You don’t need to add anything. That is what we use in our plugin. Our plugin uses an action hook (mentioned in the URL in my previous reply) from the Gravity forms plugin.
That action hook of Gravity forms is not passing any data on your site (like it is supposed to).
So I wanted you to ask the Gravity forms support team a question. You can see the question I want you to ask in my previous reply.June 11, 2020 at 12:46 pm #72573
Sorry for the delay. I’ve confirmed with Gravity Forms support that the action hook is correct and should be passing values through the parameter.
We’ve added gform_stripe_webhook in the site’s functions.php and now it’s returning action data. But I still don’t see anything, the log file still appears to be saying “This is not an affiliate referred transaction”.
Is there anything that we might be doing wrong still?June 12, 2020 at 1:48 am #72574
When the main form is submitted, the tracking data is saved with the form entry. Are you seeing the following line in the log file (after the form is submitted)?
GF integration... adding ap_id meta data to entry .....
That one uses the following action hook:
It looks like they have made changes to that action hook so let me make a change in the plugin and give you an update. I will send you an email for it.
- You must be logged in to reply to this topic.