Paypal PHP API - UNAUTHORIZED_AGREEMENT_REQUEST

I am setting up a Payment agreement using Paypal Rest API.

In sandbox mode, this works fine, I can create the Plan and set up the agreement for the plan.

however when going live, I get the following error:

UNAUTHORIZED_AGREEMENT_REQUEST
You don't have permission to create such agreement.

I have Enhanced Recurring Payments enabled on my account. So , I thought that would be all that was required.

The steps I am taking are:

 $plan = new Plan();
 ....
$output = $plan->create($apiContext);
$planID = $output->getId();

Then create the agreement based on the PlanId

$agreement = new Agreement();
....
 $plan->setId($planID);
 $agreement->setPlan($plan);
 .....
 $createagreement = $agreement->create($apiContext);

The $agreement->create is the call that is failing.

Is there something I am meant to enable either on the site or on the developer app settings in order to get this to work, or am I missing something else?

Ask the paypal MTS executive via mail they will help you within Hours here is the link Paypal MTS

Believe me they are very helpful