I have a PayPal Button tested in sandbox environment and it worked. Now i am trying to get it working in the live environment the button remains disable.
My code is
[PayPal initializeWithAppID:@"APP-80W284485P519543T" forEnvironment:ENV_LIVE];
UIButton *button = [[PayPal getInstance] getPayButton:self buttonType:BUTTON_278x43 startCheckOut:@selector(payWithPayPal) PaymentType:DONATION withLeft:20 withTop:240];
[self.view addSubview:button];
if I change Environment ENV_LIVE to ENV_SANDBOX the button is enable
You have to submit the app to paypal before converting it to live. They will provide you one id after testing your app in sandbox mode.
Check this link
https://www.x.com/community/ppx/xspaces/mobile/mep