Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate General Questions › WPSimplePay – Reward commission based on thanks page
Tagged: integration, stripe, stripe payment
- This topic has 13 replies, 3 voices, and was last updated 8 years, 6 months ago by admin.
-
AuthorPosts
-
April 16, 2016 at 5:24 pm #13436sebastien78Member
Hi, I’m using Stripe on my website, without anything else. I have a little plugin which handle the payment, and redirect the user to my Thanks page when it’s done. [https://wpsimplepay.com/]
I would like to reward my affiliate when someone pay by Stripe.
I think I need Gravity Form to be able to handle it with your plugin, but is it possible to simply reward the affiliate, when the user visit the “thanks page” ? (Pretty much like with the Paypal system).
* I have pretty much the same question than him : https://support.tipsandtricks-hq.com/forums/topic/wp-affiliate-integrate-with-stripe-standalone#post-71899
Thanks,
Sebastien
April 16, 2016 at 8:03 pm #73051wzpModeratorCurrently, the only “plug-n-play” integration of Stripe to Affiliate Platform, is via eStore, and the Payment Gateway Bundle addon:
April 18, 2016 at 4:37 am #73052adminKeymasterWe prefer to integrate with a solution properly (the PayPal’s PDT integration can’t be used for other solutions as the other gateways don’t have that same feature).
Ask them the following question:
Is there an action hook that a 3rd party plugin can use to get notified after a successful payment is made? What is name of the action hook that you recommend using for this kind of purpose?
Alternatively, you can show the developer of that stripe plugin the following documentation if they want to add an integration:
https://www.tipsandtricks-hq.com/wordpress-affiliate/api-awarding-commission-via-wordpress-hook-501
April 21, 2016 at 6:32 am #73053sebastien78MemberHi,
Thanks for your both replies.
I have contacted the dev and here is his reply :
Hi Sebastien,
We do have an action hook for when a charge is complete.
It’s called “sc_after_charge” and you can find a boilerplate example here:
[https://github.com/moonstonemedia/WP-Simple-Pay-Library/tree/master/simple-pay]
I’m not a tech guy so I don’t really know how I could use that myself, so if you have any idea of how can I do what I want with that, it could be awesome !
Thanks,
Sebastien
April 22, 2016 at 3:18 am #73054adminKeymasterThank you. I will check the info and see what I can come up with. Will you be okay to test the code if I create an integration addon?
April 23, 2016 at 7:28 am #73055sebastien78MemberAh great, thanks !
Yes sure, let me know.
Thanks,
Sebastien
*Bw, is there a way to activate emails notifications when I have a reply on this forum ?
April 23, 2016 at 10:09 am #73056adminKeymasterI have created an integration addon for it. Details here:
PS. Go to your forum profile then add topic to favorites which will activate email notification for the topic.
April 30, 2016 at 8:46 am #73057sebastien78MemberHi,
Thanks for this addon and sorry for my late reply !
I will make some tests with it and let you know
Thanks,
Sebastien
April 30, 2016 at 10:06 am #73058sebastien78Member[EDIT] It’s ok, I was looking for something more complicated than just install the addon as a new plugin
Actually I don’t find where I can install the addon..
I didn’t find anything on the other doc, neither on the plugin itself and from my FTP, I can’t see any addon folder.
Any clue ?
May 1, 2016 at 3:41 am #73059adminKeymasterAn addon is basically just a plugin. So you install it just like you install any plugin.
So upload the addon’s zip file via your “Add New” plugins interface then activate it. All done.
May 2, 2016 at 9:06 am #73060sebastien78MemberYes thanks, I had finally found it.
I have made some test on the test mode of Stripe, and it seems to work fine. I will come back to you to confirm everything is ok with the live mode, but I guess it’s good. Thanks !
May 2, 2016 at 10:35 am #73061sebastien78MemberBtw just a quick question :
How can I edit the text “Affiliate ID” here :
[http://screencast.com/t/urlDjmwoa]
If it’s in the file eng.php, can you let me know where exactly please ?
Just my point of view, maybe for future update :
In this area, users usually put their username/first name, but it’s not the best to promote a link with a clear username at the end of the URL, it’s a bit more private/hidden to ask to put a random number, of at least inform the users it will be displayed on their affiliate link. (Or it would be better to directly attribute a random number).
I don’t really see any benefit for the affiliate to show his username clearly in the URL, but I see many disadvantages.
Thanks,
Sebastien
May 2, 2016 at 11:26 am #73062wzpModeratorYes, it is in the language file, associated with the selected language:
As for masking the Affiliate ID, please look into this:
May 3, 2016 at 3:47 am #73063adminKeymasterYour affiliates will generally have an idea that the affiliate ID is something that goes in the URL. This is a very standard practice.
If you think that your affiliates need more explanation then simply edit the affiliate index page content (you can do it from the settings menu) then put extra information there.
You can also put a link there which goes to a WordPress page where you have explained everything that you think will be beneficial to YOUR particular affiliate group.
-
AuthorPosts
- You must be logged in to reply to this topic.