paypal / PayPal-iOS-SDK

Accept credit cards and PayPal in your iOS app
Other
973 stars 368 forks source link

Buyer's Shipping Address Not Included #50

Closed annca closed 10 years ago

annca commented 10 years ago

We've just implemented this library in our app to enable purchasing of physical goods. However, once we ran a live test, we realized that the transaction receipt does not include the buyer's shipping address (even though the buyer has one verified on her account). Why is that? I've read that this may happen when payment is sent as a gift. Is this the default type of payment in this library? I don't see a way to specify it for "Goods". Could someone shed light on this? Thanks

romk1n commented 10 years ago

@annca sorry for the late response, do you mean you missing shipping_address when you do PaymentDetails call from Verify Mobile Payment step https://developer.paypal.com/webapps/developer/docs/integration/mobile/verify-mobile-payment/ ?

annca commented 10 years ago

I was expecting the shipping address associated with the buyer's PayPal account to appear on the Transaction Details page that I receive once the payment goes through. We didn't want to collect the shipping address manually.

Instead the transaction receipt says "We have no shipping address on file" (even though there is one).

Was that a wrong assumption that we'd have access to the buyer's default address?

romk1n commented 10 years ago

@annca thanks for clarification we will investigate and respond.

romk1n commented 10 years ago

@annca the default payment is indeed SERVICE and not GOODS since we using Adaptive Payments, however in the next version we will be using RESTful APIs and you should be able to get shipping address.

annca commented 10 years ago

@romk1n Ok, thanks for looking into it. Do you know when this next version might ship? We were hoping to launch our app for the holiday shopping. But if the library is it's not going to be updated that soon, we'll need to look into alternative payment options.

romk1n commented 10 years ago

@annca how do you deal with cases when user chooses to pay with credit card and this information not available ?

annca commented 10 years ago

@romk1n We didn't want to offer direct credit card payments in all the regions, so we'll simply postpone those for now

romk1n commented 10 years ago

@annca hi, sorry for the delay. I have investigated the issue and the shipping address only included if it has been specified in SetPaymentOptions API call and not relevant to the paymentType.

Unfortunately this functionality is not supported at the moment and won't be available for the holidays shopping.

shabi commented 7 years ago

I have integrated PayPal Mobile SDK in iOS app, but it does not show list of Shipping address (list of default address user is having in his account) so that he can choose any one of them. I can only see the list of dummy cards to select and make a payment.

shabi commented 7 years ago

Can I go with PayPal Express checkout integration in my iOS app? any demo/sample code?

shabi commented 7 years ago

How to enable Paypal credit option in PayPal Mobile SDK for iOS?

bluk commented 7 years ago

@shabi Please ensure that the payPalShippingAddressOption is set correctly. The PayPal Credit option is not available in this PayPal Mobile SDK for iOS.

I would also investigate if you can integrate with Express Checkout with the Braintree SDK (which uses a subset of the Braintree SDK but does not require a Braintree account).

Or directly integrate with Braintree Payments for credit card, PayPal, and other payment methods. There is a demo app included in the Braintree iOS SDK project. PayPal Credit is available with a direct integration, but there are different options for integration. I would suggest contacting Braintree Sales if you wish to integrate with Braintree and want to use PayPal Credit.

I'm going to lock this issue since the original issue is different and this discussion is unrelated. If there are integration questions for this SDK, please open a new issue. Thanks.