paypal / PayPal-iOS-SDK

Accept credit cards and PayPal in your iOS app
Other
974 stars 369 forks source link

Support more than one payee #140

Closed cokodude closed 7 years ago

cokodude commented 10 years ago

Hi, I'd like to request a feature to change the pay-to account. From this SO question, there isn't a way to change this after preconnecting: http://stackoverflow.com/questions/22717432/changing-the-pay-to-account-for-paypal-mobile-transactions

I'm making an app for merchants to sell things, and I'd like the mobile SDK to pay the merchants directly. The clientID would change depending on which merchant is selling the item. Thanks!

dgoldman-pdx commented 10 years ago

@Cokodude thanks for the request.

I've changed the title of this issue from Support changing clientIDs to Support more than one payee, because that's really what you need.

A clientId is tied to the merchant responsible for an app. It is used by that app when the app signs itself into PayPal. Conceptually, the clientId is unchanging for a given app.

PayPal's servers track apps and clientIds; it's possible that an app that keeps switching its clientId might trigger an automated fraud concern.

At the moment the PayPal REST APIs, on which our mSDK is based, support payments to only the merchant associated with the app's clientId. At some point in the future (no date available yet, unfortunately), the REST APIs will also support payments made to a third party. Once that feature is supported by the REST APIs, we will add it to our mSDK as well.

In the meantime, if you really need to change payees within your app, you might consider the older PayPal MPL library.

maxyha commented 10 years ago

Hi. Is there any progress on the REST API regarding this issue? Maybe you've even got a clue of some date when this might going to happen in the meantime? Any info is highly appreciated. Thanks!

romk1n commented 10 years ago

@maxyha Sorry still no update on this one :(

blakeloverain commented 9 years ago

This is a serious issue preventing third party services (SaaS, ecommerce, etc) from implementing the REST API. It's unreasonable to request that non-technical users create their own "App" in their paypal account and copy/paste their client_id/secret here. There needs to be a way to do this via OAuth, similar to the Permissions Service - but I cannot find any information on an equivalent.

moonandroid commented 8 years ago

Hello Any update for Support more than one payee? means this functionality added with SDK ?

Trusharbhatt commented 8 years ago

@dgoldman-ebay Hi, Any Update for this issue ?
can we get client_id and change payee at runtime in android SDK?

bluk commented 8 years ago

@moonandroid @Trusharbhatt Unfortunately, no updates at this time.

josub commented 8 years ago

Does @dgoldman-ebay s comment on Apr 23, 2014 still apply? I.e. to use Paypal's MPL library to support user to user Paypal transaction. In our case within an Android app. Or do you have any new guidelines?

In case you still recommend using the MPL library, do you have any information re how long you will suppor this?

braebot commented 8 years ago

Yes, MPL is still our recommendation at this time. MPL will be deprecated at some point in the not-so-distant future, once we have a suitable replacement for it.

josub commented 8 years ago

@braebot ok thanks for the info. Can you share with us if you are planning to keep the functionality to facilitate 'user to user' payments (where the app owner is not sender or receiver) in the replacement solution?

braebot commented 8 years ago

Yes. We call those 3rd party payments, and there's plans in the works to deal with that scenario.

braebot commented 7 years ago

This feature is now available in iOS 2.16.0 and Android 2.15.0! Please see the relevant changelog for information on how to set the payee.

JedrzejMajko commented 7 years ago

Continuing this subject, is is possible to receive part of amount sent to payeeEmail as a fee for using the app? I cannot see this code, but it's possible to do in web SDK.

bluk commented 7 years ago

@Coobers Not currently. You can follow similar feature requests at https://github.com/paypal/PayPal-REST-API-issues/issues/2 .

Nexmind commented 7 years ago

I come back on this post, is this working with future payment (capture / void) or not ?

xiaoleih41 commented 7 years ago

There's no plan to add this feature to REST API. PayPal marketplace will be product providing this feature instead.