latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Tracking Code after Account Upgrade

Home Forums Community Forum Tracking Code after Account Upgrade

This topic contains 0 replies, has 1 voice. Last updated by  Markus Laue 3 years, 2 months ago.

Topic Author Topic
Posted: Monday Oct 14th, 2013 at 12:01 pm #60346
Markus Laue
Username: Marolin

Hey,

on our website netzninjas.de we implement a tracking code for new subscriptions (API-Tracking – Signup Tracking Codes). the code looks like:

<img src="https://clix.superclix.de/cgi-bin/code.cgi?pp=12345&amp;cashflow=%%regular%%&amp;tax=1.19&amp;goods=%%subscr_id%%" width="1" height="1" />

and it works fine!

NOW we want to implement a tracking code for account upgrades. i pasted this html-code into (API-Tracking -Modification Tracking Codes).

<img src="https://clix.superclix.de/cgi-bin/code.cgi?pp=12345&amp;cashflow=%%regular%%&amp;tax=1.19&amp;goods=%%subscr_id%%" width="1" height="1" />

but after upgrading account via paypal the user will NOT automaticly redirect to our website and our tracking code will not be loaded. why? what is wrong?

our upgrade button(s) are generated with s2member-paypal-button shortcode and looks like this one:

[s2Member-PayPal-Button modify="1" level="1" ccaps="" desc="Upgrade auf das Silberpaket (299,- EUR)" ps="paypal" lc="" cc="EUR" dg="0" ns="1" custom="www.netzninjas.de" ta="0" tp="0" tt="D" ra="299" rp="1" rt="L" rr="BN" rrt="" rra="1" output="button" success=""/]

success=”” will not work for modifications, so we used a function in this file: s2-hacks.php

add_filter('ws_plugin__s2member_redirection_url_after_modification', 'my_modification_redirection_url');
function my_modification_redirection_url()
{
	return 'http://www.netzninjas.de/upgrade-abgeschlossen/';
}

but this function does not work!

whats wrong? i dont get it :

Greetings

  • This topic was modified 3 years, 2 months ago by  Markus Laue.
  • This topic was modified 3 years, 2 months ago by  Markus Laue.

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.