Reputation: 67
i have two questions towards the integration of a Paypal-Donation-Button in my Phonegap Application. The application is being compiled via the build.phonegap online service. First of all i tried to implement Paypal via the inappbrowser plugin but it fails, because it works only with a href="" link relations and paypal requires a POST method.
I tried form but it did not work. An error always accures: application error a network error occurred (link of paypal payment).
Then i saw that a phonegap cordova paypal plugin is avialable. I read the documentation and did not discover any donation buttons - only pay buttons.
So is it reasonable to integrate it? And does it even work with the online cloud service of build.phonegap?
Best Regards
Dimitri P.
Upvotes: 1
Views: 884
Reputation: 2669
just try to confirm one thing firstly. Does the plugin work? regarding donate or pay. Wouldn't it be the same? (People send money to you). the only difference is word "pay" or "donate". IF the plugin render nicely, then we can just change the value(text) of button from original "Buy NOw!" to "Donate"
<button id="buyNowBtn"> Buy Now !</button> // button with word "buyNow"
<button id="buyNowBtn"> Donate</button> // button with word "Donate"
I haven't try the plugin(Read here) , but it come from paypal itself. So it is most likely working plugin. I cannot test it now, because I am not sure when will people donate to me :)
Upvotes: 1