I have a PayPal Button tested in sandbox environment and it worked. Now i am trying to get it working in the live environment. I know that in the simulator the PayPal-Live Env doesnt work, so i created an Ad-Hoc build and deployed it on the iPhone. But the button is always disabled.
I have already my Live APP-ID from PayPal.
var ppButton = Ti.Paypal.createPaypalButton({
width: 152, height: 33, top: 30, left:60, appId:"APP-XXX",
buttonStyle: Ti.Paypal.BUTTON_152x33,
paypalEnvironment: Titanium.Paypal.PAYPAL_ENV_LIVE,
feePaidByReceiver: true,
transactionType: Titanium.Paypal.PAYMENT_TYPE_SERVICE,
enableShipping: false,
payment: {
amount: 1.99,
tax: 0.00,
shipping: 0.00,
currency: "EUR",
recipient: "pay_pal_live_account@mail.com",
itemDescription: "Order",
merchantName: "IphoneOrder"
}
});
So what do i have to do in order get PayPal Live Environment working with Titanium MPL?
Any ideas?
Thanks!