Created
February 16, 2011 05:44
-
-
Save sproutventure/828935 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( isset($_GET['payment-success']) && ($_GET['payment-success'] != '0' || $_GET['payment-success'] != null) ) { | |
$userID = Group_Buying_Utility::getCurrentUserId(); | |
?> | |
<iframe src="http://www.example.com/wp-content/plugins/wp-affiliate-platform/api/post.php?secret=XXXXXXX&trans_id=<?php echo $_GET['trnId'] ?>&ap_id=XXXXXXXX&sale_amt=<?php echo get_deal_value_in_credits( $_GET['item-id'] ); ?>&item_id=<?php echo $_GET['item-id'] ?>" scrolling="no" frameborder="0" width="1" height="1"></iframe> | |
<?php | |
} | |
if ( isset($_GET['checkemail']) && 'registered' == $_GET['checkemail'] ) { | |
$userID = Group_Buying_Utility::getCurrentUserId(); | |
?> | |
<iframe src="http://www.example.com/wp-content/plugins/wp-affiliate-platform/api/post.php?secret=XXXXXXX&trans_id=REGISTRATION&ap_id=XXXXXXXX&item_id=REGISTRATION" scrolling="no" frameborder="0" width="1" height="1"></iframe> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment