Skip to main content

Posts

Showing posts with the label paypal

PayPal initialization fails always in android live wallpaper project

I am trying to integrate PayPal in app payment in a live wallpaper project that I am working on. Whenever I try to initialize the paypal library with: pp = PayPal.initWithAppID(this, appID, server); it always fails to initialize. In logs I can't see any error and my code is good because if I take the payment activity out and put it in a separate project, a regular (no live wallpaper service) and put the same user permissions in the manifest file it initializes without any fuss. What am I missing ? Is "WallpaperService" class running with some restrictions that affect paypal initialization ?

PayPal initialization fails always in android live wallpaper project

I am trying to integrate PayPal in app payment in a live wallpaper project that I am working on. Whenever I try to initialize the paypal library with: pp = PayPal.initWithAppID(this, appID, server); it always fails to initialize. In logs I can't see any error and my code is good because if I take the payment activity out and put it in a separate project, a regular (no live wallpaper service) and put the same user permissions in the manifest file it initializes without any fuss. What am I missing ? Is "WallpaperService" class running with some restrictions that affect paypal initialization ?

PayPal for Android adding products

I am getting started with PayPal SDK for Android https://www.x.com/developers/ebay but I can't understand, where i can specify my products to buy. Like Product1 = 1$, Product2 = 3$, Product3 = 9.99$ etc. Can anyone provide me with this information? Thanks.

Shopify API - add to basket

I'm thinking of using Shopify to manage my shop. I need to add the products to the website with the API. http://api.shopify.com/ I can get the products and stocks with this API call : http://api.shopify.com/product.html#index But, then I would like to 'Add to basket' - I cannot see from the API docs how to do this. Once added to the basket - I'd like to get the basket contents so I can display something like... "2 items : £130 - checkout" I don't need a detailed answer - just point me in the right direction - thanks.