Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

PayPalPaymentViewController Crash upon server communication failure #60

Closed
johnrogers opened this issue Nov 26, 2013 · 9 comments
Closed

Comments

@johnrogers
Copy link

I am attempting to test using the Sandbox. For some reason, using the credentials found on the Developer website, the app is failing to connect with the servers when I try to make a test payment. Works find in No Network "Mock" mode.

Aside from that issue, though, after clicking "Okay" to the alert view which says "There was a problem communicating with the PayPal servers. Please try again.", the app crashes. Here's a screenshot of the alert view I tapped:

screen shot 2013-11-26 at 2 10 00 pm

After tapping 'Okay', I get the following errors:

*** Assertion failure in -[UITableView _endCellAnimationsWithContext:], /SourceCache/UIKit/UIKit-2903.23/UITableView.m:1314
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of sections.  The number of sections contained in the table view after the update (3) must be equal to the number of sections contained in the table view before the update (3), plus or minus the number of sections inserted or deleted (0 inserted, 1 deleted).'

Obviously just the table view row count not being updated properly, but an annoying little bug nonetheless.

@johnrogers
Copy link
Author

If you could advise me as to why the sandbox isn't working, that would be great, too. 👍

@romk1n
Copy link
Contributor

romk1n commented Nov 26, 2013

@johnrogers Thanks for reporting this we will investigate!

dgoldman-pdx pushed a commit that referenced this issue Nov 26, 2013
@dgoldman-pdx
Copy link
Contributor

@johnrogers Thanks again for reporting this bug. We've fixed it and released an updated SDK.

Sandbox can sometimes be a bit ornery. This morning it seems to be working correctly for us. If you continue to experience any problems, though, let us know!

@johnrogers
Copy link
Author

Thank you Dave!

It was because I was using the same address as both sender and receiver of a test transaction. Had a dig your documentation to find out I had to do this. May I suggest you make this fact more clear in the documentation?

Sent from my iPhone

On 27 Nov 2013, at 8:00, Dave Goldman [email protected] wrote:

@johnrogers Thanks again for reporting this bug. We've fixed it and released an updated SDK.

Sandbox can sometimes be a bit ornery. This morning it seems to be working correctly for us. If you continue to experience any problems, though, let us know!


Reply to this email directly or view it on GitHub.

@dgoldman-pdx
Copy link
Contributor

Thanks -- I'll pass that along to our docs folks.

@lizhigang6
Copy link

After is how to solve?

@dgoldman-pdx
Copy link
Contributor

@lizhigang6 are you experiencing a problem similar to that reported above? If so, please start a new issue and include all the relevant details.

@Jyoshnakp
Copy link

@dgoldman-ebay

I got the same issue.. "there was a problem communicating with paypal servers"..

Please let me know how to resolve this.
screen shot 2014-07-08 at 3 52 29 pm

@KartikSinghBhadoriya
Copy link

KartikSinghBhadoriya commented May 27, 2016

@dgoldman-ebay
hey In Latest iOS Sdk It Run in "mock" fine But When I change Mode In "Sandbox" than i got same issue as @Jyoshnakp commented on Jul 8, 2014 "there was a problem communicating with paypal servers"..

simulator screen shot 27-may-2016 1 15 48 pm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants