Android Question PayPal_Ready result is always False

msmaha

New Member
Licensed User
Longtime User
I constructed the example program from the MPL Paypal Library posted code. The PayPal_Ready sub result is always False on the target. The MLP example works on the PC based AVD simulator. I am testing with Android version 4.1.2 in both cases. Target device is Motorola Xoom tablet.

The Manifest Editor has the added statement.
The MPL jar is from the link.
Initialization is the posted sandbox statement.

Update - Paypal reports that the MPL api's are being depreciated and recommend the new Android SDK. The PayPal example in this SDK runs fine on the Xoom.

Just need to wait for a new B4A wrapper...
 
Last edited:

msmaha

New Member
Licensed User
Longtime User
I have now answered my original question by creating a really simple B4A wrapper library to the PayPal REST SDK version 1.
The attached has the wrapper library, java source for the wrapper, and B4A example. You will need to supply the PayPalAndroidSDK.jar library from the SDK itself to use the wrapper. You will need other files from the SDK if you want to create a new wrapper from the java source. If you want to use any mode other than NO_NETWORK, you will need credentials from developer.paypal.com
Please get the SDK and read its enclosed documentation to help understand how the pieces fit together.

Thank you, Erel, for making B4A such a great development product to work with.

Update: PayPal now has version 2.02 of the SDK that is no longer compatible with this wrapper.
 

Attachments

  • PayPal REST Wrapper.zip
    15.5 KB · Views: 230
Last edited:
Upvote 0
Top