-4

Apple rejected for the third time my app. I add in this app a "donation" process. There are tips were i get a fee on every transaction. The transaction was made via PayPal on a UIWebView ( because PayPal sdk not support credit card on my Country :( )

The response from Apple's review is :

While donations may not be taken within an app, you may provide a link to your website that launches Safari for users to make a donation. You may also add a link to send an SMS to make the donation.

We are unable to proceed with the review of your app until this issue has been addressed.

How i can made a flow were when i click donate i open safari then i can return back on transaction finished ?

Edit

I want to say how return to app without the small link on left corner

Qu4sar
  • 64
  • 2
  • 11
  • 3
    I'm voting to close this question as off-topic because developer centric questions about application stores are considered off topic here on SO, see [this](https://meta.stackoverflow.com/a/272166/4667835) meta answer by a moderator. – Dávid Pásztor Sep 14 '17 at 09:03
  • why ? is a request for developer support ? I want to say how return to app without the small link on left – Qu4sar Sep 14 '17 at 09:08
  • 2
    Then ask the specific, technical question about how to achieve that and don't ask about how to get your app approved by Apple. – Dávid Pásztor Sep 14 '17 at 09:12
  • "How i can made a flow were when i click donate i open safari then i can return back on transaction finished ?" is not "how to get my app approved by apple " – Qu4sar Sep 14 '17 at 09:13
  • I think what David means is that change the title of your question to "How I can ...." rather than "Apple rejected my app" –  Sep 14 '17 at 09:35

1 Answers1

1

Apple probably don´t want these kind of action because they want you to use their payment rules and they have a fee with 30%.

What you could do is to fire Safari as Apple suggest, make a button and call this function:

func openSafari() {
    if let let url = "someURl", let requestUrl = URL(string: url) {
        if #available(iOS 10.0, *) {
            UIApplication.shared.open(requestUrl, options: [:], completionHandler: nil)
        } else {
            UIApplication.shared.openURL(requestUrl)
        }
    }
}

This will launch Safari with your suggested URL and then you can go back to the app with the small link that automatically will popup at the top left corner.

Rashwan L
  • 38,237
  • 7
  • 103
  • 107