braintree payment_method_nonce for embedded device - ruby-on-rails

I am trying to use braintree to allow customer pay through a device other than mobile phone or browser. So I can't use braintree client javascript or mobile app sdk. I want to ask customer to input
their credit card in the device and save it to braintree vault. I can get credit_token and customer_id.
However to make a payment, latest braintree api need to use payment_method_nonce, which is suppose
to be generated by the web or mobile client SDK. In my case, I can't use the clien SDK. Does anyone
how to generate the payment_method_nonce required without using javascript or mobile sdk.
Asked braintree support and they said they don't support devices other than browser and mobile phone as
client.
I used old braintree api, which can use credit_token as payment_method_nonce to make payment. The downside is the credit_card_token is not one time use. Someone may reuse it if they get it.

Related

Paypal Kinvey Integration

I am trying to develop an iOS app with Kinvey as the mBaas and Paypal.
Context:
-Kinvey will store and transmits location data of users
-Paypal Adaptive payments facilitates payments between users and other users as well as between users and the application owner
-One of the 2 stores credit card information (haven't gotten that far yet but I assume Paypal most likely)
Can the Paypal Adaptive Payments API be employed with Kinvey mBaas for a mobile iOS application written in Swift?
Currently, Kinvey doesn’t expose Paypal/Braintree’s (server side) API through backend SDK.
But you should be able to implement it using DLC (Data Link Connector). Please take a look at this: http://devcenter.kinvey.com/rest/guides/datalink#
Thanks, Pranav Kinvey

PayPal Adaptive Payment iOS Approval URL (Maybe MPL and new iOS SDK)

first in my iOS project i have to include a payment which i can only i achieve with the Adaptive Payment Flow. I have to ensure that the users has a valid paypal account, for what i use the "new" iOS SDK. Later after some action, i create on the Server Site a payment with the https://github.com/Ideame/paypal-adaptive-sdk-nodejs. The Backend is creating me a pre approval url which works fine in the browser. Now my question how should i handle this url on mobile, i tried it in a web view, which looks terrible and don't works for some reasons which i don't know, anyway it is bad for me that i don't have then any callbacks to check if the buy was successfully. I tried also do integrate the old mpl paypal library, but i cant add it to my project because there a duplicated files in the old and the new paypal lib. Did anybody have a hint, how to accomplish my use case?

Stripe Connect payment in iOS

We want to integrate Stripe Connect with iOS application to transfer amount from one person to person.
Let's say, I want to transfer $100 to my sister's account using Stripe Connect Standalone/Managed Account. And we also want to take business commission from sender which includes stripe commission also.
We have gone through Sharing Customers also but won't be able to find any solution for Stripe Connect with iOS SDK.
We have also checked iOS SDK.
Can anyone please guide us how to integrate Stripe Connect with iOS mobile app in above scenario?
How can we transfer payment to end customer?
Do we need to integrate through iOS SDK or web page?
Stripe's iOS and Android SDKs serve the same purpose in a mobile application as Checkout or Stripe.js do in a web application: they take payment information and produce a token in return.
Once the token has been created, it must then be sent to a backend server where it can be used in API requests sent with the secret key. You can't create charges or transfers directly from your mobile app -- that must be handled by an external server.
(Also, please note that there might be compliance issues with what you're trying to do. I recommend you reach out to Stripe's support to explain your usecase and make sure it's something that Stripe can support.)
You can easily integrate Stripe Connect with your iOS app check the following link
https://github.com/gurunglaxman0/StripeConnect-iOS
Once you connect your stripe user id with server you can create charges and application fee using Stripe Api's from backend

PayPal iOS SDK - Payment not available for apps with a Mobile SDK type of integration

I'm making and iPad app which uses the PayPal iOS SDK for payments. The problem is that I cannot Log in to PayPal from the app. I can only pay by credit card.
When you create an application on the PayPal developer page there is this message:
Important: Currently, Log in with PayPal is not available for apps with a Mobile SDK type of integration.
So my question are:
1.When will it be available?
2.If I publish my app now will it work when it will be available or I will need to update?
3.Why there is login button? It confuses the user. They have a button for login but they can only pay by credit card.
You can see the screen by clicking this link.
Thank you.
Josh from PayPal here. My apologies -- I think the messaging here could be improved.
Log In with PayPal is an oauth2 identity service, which you could use (say) to let users log in to your app using their PayPal account instead of having to create an account with your service.
The log in button you see in the PayPal Mobile SDKs, in contrast, is intended to let folks pay using their PayPal wallet, which does require that they log in. This does work, now, with a "Mobile SDK type of integration".
Hope that clears things up a bit.

paypal api for blackberry

I am recently developing a business application naming MyTicket.
I want that paypal gateway should be open within the app So
for that is there any paypal api in blackberry that helps me in fulfilling this
task.
I have already tried with creating a Paypal API wrapper for example using PHP, which is used by a proxy page. Then in the BlackBerry, use standard HTTP requests to send GET/POST requests to the proxy page. The proxy page will in turn use the wrapper you created to set up payment for you and your customer.But by following this way we are able to make credit card payments with the application and entire transaction will happen at the server end and in response we may obtain a result at client end that transaction is happened successfully.
But i want that the paypal transaction will happen with the paypal account.So is there any
sdk in blackberry which helps me in fulfilling this request.
Thanks And Regards
Pinkesh Gupta
There was an API, but they dropped support. I think now the only platforms supported are iOS and Android: PayPal -Mobile Payment Libraries
(If you want to check out how the BB version was like, or if you manage to find the jar, this was the development guide:MPL Guide for BlackBerry)
Now RIM has a Payment Service that might help you: Payment Service
If you use the standard Express Checkout API within your app it'll automatically utilize the mobile checkout experience.
I use this in my jQuery Mobile Apps and it works great. If you're building a native Java app, though, you might have to use some sort of an embedded web page to make it work.

Resources