Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Gravity Forms and Stripe – clicks tracking but not sales
Tagged: Gravity Forms, stripe checkout
- This topic has 9 replies, 2 voices, and was last updated 6 years ago by Wordflirt.
-
AuthorPosts
-
October 25, 2018 at 6:24 pm #15174WordflirtMember
I’ve read multiple FORUM submissions and followed multiple install docs including these:
Don’t know if I still need the plugin referred to here, if so where do I get it: https://support.tipsandtricks-hq.com/forums/topic/gravity-forms-strip-integration.
We’re using version 6.0.6.
WP version 4.9.8.
Gravity Forms (ver 2.3.4) and their Stripe add-on (ver 2.5) and their Drip add-on (ver 2.1.0)
Affiliate link: socialforrealestate.com?ap_id=dpbraun15071_abraham
Payment page: socialforrealestate.com/real-estate-social-media-done-for-you-checkout/
Applicable Debug messages:
[10/24/2018 10:36 PM] – SUCCESS :GF integration… adding ap_id meta data to entry (36) with value: dpbraun15071_abraham
[10/24/2018 10:36 PM] – SUCCESS :GF integration (Lead capture) – form submitted. Checking if affiliate lead needs to be captured…
[10/24/2018 10:36 PM] – SUCCESS :GF integration (Lead capture) – Debug data: dpbraun15071+ronald@gmail.com|dpbraun15071_abraham|2
[10/24/2018 10:36 PM] – SUCCESS :GF integration (Lead capture) – lead successfully captured in the leads table.
[10/24/2018 10:37 PM] – SUCCESS :GF integration… adding ap_id meta data to entry (37) with value: dpbraun15071_abraham
[10/24/2018 10:37 PM] – SUCCESS :GF integration (Lead capture) – form submitted. Checking if affiliate lead needs to be captured…
[10/24/2018 10:37 PM] – SUCCESS :GF integration (Lead capture) – Debug data: |dpbraun15071_abraham|3
[10/24/2018 10:37 PM] – SUCCESS :GF integration (Lead capture) – lead capture is not enabled for this Gravity Form as it is missing the ‘wpap-lead-email’ parameter name in the email field!
Interesting, I do have the wpap-lead-email parameter in the email field on the form.
October 26, 2018 at 1:25 am #78732adminKeymasterWe have a few different types of Gravity forms integration (different users use it for different purposes).
You want the stripe integration for Gravity forms:
For some reason, the following action hook is not being triggered after a sale via Stripe on your site:
gform_stripe_webhook
Our plugin uses the above action hook to get notified when a stripe transaction has taken place.
Can you please confirm with Gravity forms support, if they still use the following action hook that is triggered after a Stripe transaction?
gform_stripe_webhook
October 26, 2018 at 4:06 am #78733WordflirtMemberYes, I checked the gravity form integration box.
I’ll check with gravity forms on the above.
But their documentation shows it’s active: https://docs.gravityforms.com/gform_stripe_webhook/
October 27, 2018 at 12:13 am #78734adminKeymasterThe log file is suppose to have some content about the Stripe integration when that hook is triggered. Your Stripe payment from the test was fully successful correct?
October 27, 2018 at 3:30 pm #78735WordflirtMemberYes, the stripe payment was successful, albeit in test mode.
GF said “That hook is still there, if it is not being triggered it would suggest that webhooks are not being received.
You can enable logging to see if webhooks are being received and processed.”
I’m going to have to setup a test site for this and enable GF debugging to delve into it further.
October 28, 2018 at 3:32 am #78736WordflirtMemberI setup the test site at sfre.thewordflirt.com. WIth the below debug data, let me know what to do next.
Here is the relevant debug data from WP Affiliate:
[10/28/2018 3:15 AM] – SUCCESS :GF Stripe integration – gform_stripe_webhook. Action type: , Entry ID: , Referrer ID:
[10/28/2018 3:15 AM] – SUCCESS :GF Stripe integration – The referrer ID is empty for this entry. This is not an affiliate referred transaction.
October 29, 2018 at 1:00 am #78737adminKeymasterNow the webhook looks to be working. However, it doesn’t look like any affiliate link was clicked to go to the page containing the gravity form. Our plugin saves the referrer ID when you click on an affiliate link to go to the page containing the form and then you submit that form. This is why it is showing the following message:
The referrer ID is empty for this entry.
This needs to be addressed first. Can you please do one more test after you click an affiliate link to go to the page that has the form?
October 29, 2018 at 8:28 pm #78738WordflirtMemberTested again, same issue.
I recorded a video showing exactly what I’m doing. Can I email you the link to it?
In any case, the test I did gave me the following output:
[10/29/2018 8:17 PM] – SUCCESS :GF Stripe integration – gform_stripe_webhook. Action type: , Entry ID: , Referrer ID:
[10/29/2018 8:17 PM] – SUCCESS :GF Stripe integration – The referrer ID is empty for this entry. This is not an affiliate referred transaction.
At this point I’m wondering if I have something interferring.
Any place you want me to put in some debug code?
Thanks.
October 30, 2018 at 4:55 am #78739adminKeymasterI am expecting to see another debug log entry with the following:
GF integration... adding ap_id meta data to entry ....
That is suppose to happen when the Gravity form is submitted (even before the payment stuff is handled).
I have emailed you so you can reply to it and send me the video you are talking about.
October 30, 2018 at 5:40 pm #78740WordflirtMemberEmailed a link to the video. I’ll be experimenting with the site soon.
-
AuthorPosts
- You must be logged in to reply to this topic.