CBsubs with PAP affiliate coupon codes

11 years 7 months ago #207937 by clwweb
Hello,

I am trying to get the PAP affiliate coupons to work within the CBsubs cart. I think it was discussed in this thread here . The end result will be that Affiliates can hand out coupon codes that will work the same as a tracking link, they will be credited with a % of sale when someone uses their coupon, instead of a link.

According to the PAP documentation, support.qualityunit.com/289065-How-to-integrate-coupons-with-your-payment-processor-or-e-shop I need to edit the tracking code in 2 places. The pap api class is editable, so I should be able to manage that change, but I'm not sure I can edit the tracking link on the sale page itself. Or possibly that isn't even necessary depending on how the tracking code is called.

Just looking for some guidance on where to edit the tracking code so that it will look for coupons.

Please Log in to join the conversation.

11 years 7 months ago #207959 by krileon
Replied by krileon on topic Re: CBsubs with PAP affiliate coupon codes
We're using the below API usage.

support.qualityunit.com/938257-Pap_Api_SaleTracker

As we don't provide the source to that plugin the best base to start with is the Google Analytics plugin.

For the PAP Coupon I suppose you'd just add a field to registration then pick that up in your integration and pass it to PAP.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

11 years 7 months ago #208005 by clwweb
Replied by clwweb on topic Re: CBsubs with PAP affiliate coupon codes
Ok, so I will have to have a separate field for the PAP coupons then? I was hoping to share the same coupon field with the CB promotions.

Also I just noticed an area to pass extra fields to PAP in the settings,
PostAfPro Optional Transaction Commission Data
Here you can choose to pass any User Profile field to PostAfPro optional transaction commission data 1-5.
Optional Data 1: CB field:

Could this accomplish what I want? Set up a separate registration field to collect the coupon, and pass it to PAP?

Please Log in to join the conversation.

11 years 7 months ago #208010 by krileon
Replied by krileon on topic Re: CBsubs with PAP affiliate coupon codes

I was hoping to share the same coupon field with the CB promotions.

Don't know if that'll work or not. CBSubs supports multiple coupons so it could end up sending multiple coupons when you expected 1, but I suppose you could use the CBSubs Promotions coupon code set in the basket.

Could this accomplish what I want? Set up a separate registration field to collect the coupon, and pass it to PAP?

Probably not, that just passes optional commission data. I believe it's a completely different API function to set the coupon for PAP.

I recommend reviewing the API linked earlier then reviewing the Google Analytics plugin for reference for your own PAP integration.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

11 years 7 months ago - 11 years 7 months ago #208834 by krileon
Replied by krileon on topic Re: CBsubs with PAP affiliate coupon codes
Have created feature ticket #3667 for CBSubs 2.1.0. Will be implementing coupon affiliate tracking.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

11 years 7 months ago #208895 by clwweb
Replied by clwweb on topic Re: CBsubs with PAP affiliate coupon codes
Great! When is an estimated release date for CBsubs 2.1?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.277 seconds

Facebook Twitter LinkedIn