gautamkakadiya Posted November 4, 2014 Share Posted November 4, 2014 Hello everyone, I want to create recurring profile in PayPal through Prestashop. so for that i have created CreateRecurringPaymentsProfile() after the doExpressCheckout() in processs.php file in paypal module. when i run the module it is not creating the recurring profile in PayPal .my CreateRecurringPaymentsProfile() is public function CreateRecurringPaymentsProfile() { $fields['method']='CreateRecurringPaymentsProfile'; $fields['USER'] = Configuration::get('PAYPAL_API_USER'); $fields['PWD'] = Configuration::get('PAYPAL_API_PASSWORD'); $fields['SIGNATURE'] = Configuration::get('PAYPAL_API_SIGNATURE'); $fields['VERSION']=94; $fields['TOKEN']=$this->token; $fields['PAYERID'] = $this->payer_id; $fields['PROFILESTARTDATE']='2014-11-06T00:00:00Z'; $fields['DESC']="Time Magazine"; $fields['BILLINGPERIOD']='Month'; $fields['BILLINGFREQUENCY']=1; $fields['AMT']=10.00; $fields['TRIALBILLINGPERIOD']='Month'; $fields['TRIALBILLINGFREQUENCY']=1; $fields['TRIALTOTALBILLINGCYCLES']=1; $fields['TRIALAMT']=0; $fields['CURRENCYCODE']='USD'; $fields['COUNTRYCODE']='US'; $fields['MAXFAILEDPAYMENTS']=3; } The above code is not working and it is not creating recurring profile in PayPal .can you please help me how i create recurring profile in PayPal through Prestashop ? Thanks in advance. Link to comment Share on other sites More sharing options...
Recommended Posts