PayPal Plugin?

Does anyone know of a PayPal plugin? Or is everyone just calling the URLs for it and viewing the responses? If so, can someone post an example of this? I need to allow a user to make a payment using PayPal. It is for performing a service in their home so it does not violate the issue of not using an in-app purchase. I plan to use stripe.com for taking payments for credit cards. I believe I saw a plugin for stripe on here already.

Thanks,

Warren

I don’t think you’d be able to do it with URL calls for security reasons, though I don’t know that for sure.  

In the past there was a plugin for PayPal, but the company that made it closed down. The developer made them all open source so you can still use them, but you would need enterprise to do so and since they’re no longer being maintained they might not be up to date:

https://github.com/GremlinInteractive/CoronaPaypalPlugin

Edit: I’ve just looked and the original plugin seems like it was not too complicated, so even if it’s not current it might not be too much work for you to bring it up to date.

I thought that PayPal did support a REST API, which means you can use network.request() to access PayPal. They probably use Oauth2.0 to authenticate, and there may be some examples around of people who have that working.

I don’t remember why the Infused Dream’s plugin stopped. It might have been the change to 64 bit or maybe PayPal updated their SDK with breaking changes after Danny stopped updating the plugin.

Rob

Copied from my reply to Warren’s other thread, because it might be of interest to folks on this thread:

You may want to check out Stripe - they also process payments like PayPal, have a simple REST API (no oAuth!), and somebody’s already created a pure Lua module for it. I’ve not test-driven this, and it’s Lua, not Corona, so you’d need to build up some UI around it yourself, but it might be a better way to go if you need to accept payments in your app. Here’s a link to that module I mentioned (which is linked to from Stripe’s API docs - always a good sign): https://github.com/wsummerlin/stripe-lua

 

Good luck!

Network.Request doesnt seem to work with the PayPal Rest API, it returns Certificate Required. 

See https://forums.coronalabs.com/topic/61522-paypal-rest-api/ where another user posted about this, with code sample. I found the same thing when i tried. Any help with this would be appreciated.

It’s not PayPal, but I wrote a Stripe plugin that will be up on the plugin marketplace any day now. The documentation for it is up at http://stripe.plugin.jasonschroeder.com. :grinning:

We have a way to pay with paypal and china’s alipay, please read http://payfun.nicelife.club/front/docs

Just pinging this thread again to say that the Stripe plugin is officially released! 

 

Documentation here: http://stripe.plugin.jasonschroeder.com

Sample app here: http://stripe.plugin.jasonschroeder.com/stripeDemo.zip

Plugin activation page here: http://store.coronalabs.com/plugin/stripe/

 

Enjoy!

I don’t think you’d be able to do it with URL calls for security reasons, though I don’t know that for sure.  

In the past there was a plugin for PayPal, but the company that made it closed down. The developer made them all open source so you can still use them, but you would need enterprise to do so and since they’re no longer being maintained they might not be up to date:

https://github.com/GremlinInteractive/CoronaPaypalPlugin

Edit: I’ve just looked and the original plugin seems like it was not too complicated, so even if it’s not current it might not be too much work for you to bring it up to date.

I thought that PayPal did support a REST API, which means you can use network.request() to access PayPal. They probably use Oauth2.0 to authenticate, and there may be some examples around of people who have that working.

I don’t remember why the Infused Dream’s plugin stopped. It might have been the change to 64 bit or maybe PayPal updated their SDK with breaking changes after Danny stopped updating the plugin.

Rob

Copied from my reply to Warren’s other thread, because it might be of interest to folks on this thread:

You may want to check out Stripe - they also process payments like PayPal, have a simple REST API (no oAuth!), and somebody’s already created a pure Lua module for it. I’ve not test-driven this, and it’s Lua, not Corona, so you’d need to build up some UI around it yourself, but it might be a better way to go if you need to accept payments in your app. Here’s a link to that module I mentioned (which is linked to from Stripe’s API docs - always a good sign): https://github.com/wsummerlin/stripe-lua

 

Good luck!

Network.Request doesnt seem to work with the PayPal Rest API, it returns Certificate Required. 

See https://forums.coronalabs.com/topic/61522-paypal-rest-api/ where another user posted about this, with code sample. I found the same thing when i tried. Any help with this would be appreciated.

It’s not PayPal, but I wrote a Stripe plugin that will be up on the plugin marketplace any day now. The documentation for it is up at http://stripe.plugin.jasonschroeder.com. :grinning:

We have a way to pay with paypal and china’s alipay, please read http://payfun.nicelife.club/front/docs

Just pinging this thread again to say that the Stripe plugin is officially released! 

 

Documentation here: http://stripe.plugin.jasonschroeder.com

Sample app here: http://stripe.plugin.jasonschroeder.com/stripeDemo.zip

Plugin activation page here: http://store.coronalabs.com/plugin/stripe/

 

Enjoy!