protected function handleReturn( $paymentBasket, $postdata )
{
$requestdata = array();
// Our only way was to store into a browser cookie the basket params, as CCBill doesn't return anything custom: get it:
$this->_basketFromCookie( $requestdata );
return $this->_returnParamsHandler( $paymentBasket, $requestdata, 'R' );
}
Please Log in to join the conversation.
setcookie( 'cbsubs_ccbill_basket', (int) $paymentBasket->id . '|' . $paymentBasket->shared_secret, ( time() + ( 3600 * 16 ) ), '/', '.mydomain.com' );
Please Log in to join the conversation.