Created
March 11, 2013 05:57
-
-
Save ombagrao22/5132139 to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
/* | |
* Template Name: Responce | |
*/ | |
//I want to retrive sessionid variable inside this template file. | |
class wpsc_merchant_citrus_standard extends wpsc_merchant { | |
var $name = ''; | |
var $paypal_ipn_values = array(); | |
function __construct( $purchase_id = null, $is_receiving = false ) { | |
$this->name = __( 'PayPal Payments Standard', 'wpsc' ); | |
parent::__construct( $purchase_id, $is_receiving ); | |
} | |
function get_session_id() { | |
return $this->cart_data['session_id']; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried above code but it still giving me blank values.