PayPal.*

Type library
Revision 2014.2449
Keywords PayPal, e-commerce, money, funds, transactions
Availability Starter, Basic, Pro, Enterprise
Platforms Android, iOS

Overview

The PayPal plugin lets you utilize PayPal's iOS/Android SDKs within a Corona project.

Licensing

In order for you to use the PayPal plugin you must obtain a valid license key.

You can purchase a license key from the Gremlin Interactive™ Store.

For more information about Gremlin Interactive™, our plugins, and licensing details, please read our FAQ.

Functions

Project Settings

To use this plugin, add an entry into the plugins table of build.settings. When added, the build server will integrate the plugin during the build phase.

settings =
{
    plugins =
    {
        ["plugin.paypal"] =
        {
            publisherId = "com.gremlininteractive"
        },
    },      
}

Android

For Android, the following permissions/features are automatically added when using this plugin:

    android =
    {
        usesPermissions =
        {
            "android.permission.INTERNET",
            "android.permission.ACCESS_NETWORK_STATE",
            "android.permission.ACCESS_WIFI_STATE",
            "android.permission.CAMERA",  --used for card scanning
            "android.permission.VIBRATE",  --vibration occurs when card scanner successfully scans a credit card
        },
        usesFeatures =
        {
            { name="android.hardware.camera", required=false },
            { name="android.hardware.camera.autofocus", required=false }
        },
    },

PayPal Developer Credentials

To develop with PayPal, you need the proper developer credentials from the PayPal Developer site.

Please see the Gremlin Interactive™ guide on how to obtain the required parameters.

Sample

https://github.com/GremlinInteractive/plugins_sample_paypal

Support

This plugin is a product of Gremlin Interactive™. All support and questions are handled by the Gremlin Interactive™ team.