show_errors(); $configuration= new Are_PayPal_Configuration(); //Initialize properties $this->prefix=$configuration->prefix; } function set_templates(){ $InstantPaymentTemplate = get_option($this->prefix."_InstantPaymentTemplate"); if (!$InstantPaymentTemplate){ $template="

%EXPLANATION%

%ITEMNAME%: %ITEMNUMBER%

%ITEMPRICE% %ITEMCURRENCY%

%BONUSLIST%

%BUTTONALT%
"; update_option($this->prefix."_InstantPaymentTemplate", $template); } $RecurentPaymentTemplate = get_option($this->prefix."_RecurentPaymentTemplate"); if (!$RecurentPaymentTemplate){ $template="

%EXPLANATION%

%ITEMNAME%: %ITEMNUMBER%

%ITEMPRICE% %ITEMCURRENCY%

%BONUSLIST%

%BUTTONALT%
"; update_option($this->prefix."_RecurentPaymentTemplate", $template); } $LoginButtonTemplate = get_option($this->prefix."_LoginButtonTemplate"); if (!$LoginButtonTemplate){ $template="

%EXPLANATION%

%LOGINURLTEXT%
"; update_option($this->prefix."_LoginButtonTemplate", $template); } } } } ?>