Skip to content

Instantly share code, notes, and snippets.

@ombagrao22
Created March 11, 2013 05:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ombagrao22/5132139 to your computer and use it in GitHub Desktop.
Save ombagrao22/5132139 to your computer and use it in GitHub Desktop.
<?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'];
}
}
@ombagrao22
Copy link
Author

I tried above code but it still giving me blank values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment