Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Right now I'm trying to figure out what provides best experience in terms of payments in PhoneGap on iOS...</p> <p><img src="https://i.stack.imgur.com/Qk8b1.png" alt="enter image description here"></p> <p>Speaking of PayPal: Just tried their workflow and I must admit it works out of the box really well with one BUT: return URL brought me to an external site, all withing context of Cordova app. <em>(it can be probably fixed by <a href="https://stackoverflow.com/questions/5537020/paypal-button-adding-variable-to-return-url">overriding default url</a>, <a href="http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html" rel="nofollow noreferrer">to native app</a>, <a href="https://stackoverflow.com/questions/1108693/is-it-possible-to-register-a-httpdomain-based-url-scheme-for-iphone-apps-like/1109200#1109200">which is detected here</a>, or maybe using <a href="http://cordova.apache.org/docs/en/2.5.0/cordova_inappbrowser_inappbrowser.md.html" rel="nofollow noreferrer">InAppBrowser</a>)</em></p> <blockquote> <p>when the payment is completed Paypal will re-direct to a secure server page - which will receive the transaction ID from paypal</p> </blockquote> <p>Please see the difference:</p> <ul> <li><a href="https://www.paypal.com/pdt" rel="nofollow noreferrer">https://www.paypal.com/pdt</a> - Payment Data Transfer - cannot rely, user can just close the browser (close the app in this particular case)</li> <li><a href="https://www.paypal.com/ipn" rel="nofollow noreferrer">https://www.paypal.com/ipn</a> - Instant Payment Notification - automated post to your backend, much better indication if the payment was completed</li> </ul> <p><em>(I'll fiddle more in this area and share findings if they are relevant)</em></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload