Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Mobile Express Checkout (MEC) #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sogko
Copy link

@sogko sogko commented Feb 11, 2014

Add an option to enable mobile device support using MEC.

It's a simple option to return the PAYMENTURL with 'cmd' argument to
redirect url to '_express-checkout-mobile'.

Usage:

var cred = {
    username  : config.paypal.api_username,
    password  : config.paypal.api_password,
    signature : config.paypal.api_signature
};

var opts = {
    sandbox : true,
    mobile_express_checkout : true,
    version : '93'
};

var ec = new PayPalEC(cred, opts);

...

MEC details
https://developer.paypal.com/docs/classic/mobile/gs_MEC/

Add an option to enable mobile device support using MEC.

It's a simple option to return the PAYMENTURL with 'cmd' argument to
redirect url to '_express-checkout-mobile'.

Usage:

    var cred = {
        username  : config.paypal.api_username,
        password  : config.paypal.api_password,
        signature : config.paypal.api_signature
    };

    var opts = {
        sandbox : true,
        mobile_express_checkout : true,
        version : '93'
    };

    var ec = new PayPalEC(cred, opts);

    ...

MEC details
https://developer.paypal.com/docs/classic/mobile/gs_MEC/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant