For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 13 replies, 3 voices, and was last updated 12 years ago by
ChirayuBrahmbhatt.
-
AuthorPosts
-
ChirayuBrahmbhattMemberI would like to add PayPal to my app and when visitor buy anything it takes them to Paypal without leaving my app and then redirect them to my app after completing purchase (just like iFrame view)
How Can I achieve this?
Please advise
December 3, 2013 at 4:02 pm #344978
Paul_paulParticipantI created a PayPal ‘buy it now’ button then just used the link code in a ‘go to URL’ button below the item for sale. I was just experimenting but it seemed to work ok in a native app and I returned to the app when finished. You obviously need a business account with PayPal, although I am not sure whether Apple would approve it. That’s as far as I got.
December 3, 2013 at 4:21 pm #344981
BrandonMemberYou can also use the code from PayPal in a HTML widget, I tried it in an earlier version and it worked fine, Im assuming it would still work.
Apple approval depends on what you are selling.
December 3, 2013 at 4:30 pm #344982
Paul_paulParticipantI tried the long code that includes the link to the paypal ‘buy it now’ image in a html widget and it didn’t want to work in a native app. It did work in a web app though.
Saying that, I would imagine Apples alleged rule on no more than three ‘go to URLs’ might severely restrict your selling capabilities.December 3, 2013 at 5:04 pm #344983
ChirayuBrahmbhattMemberThank you all for your prompt response. I have tried with HTML code and it didn’t work for me. I do have a business account with PayPal as well.
The button does work but it takes me to the PayPal site.
Is there any way I can create a we view inside the app or iFrame?
Please advise
Thanks
December 3, 2013 at 8:42 pm #344986
Paul_paulParticipantI thought that was the general idea, log in to make the payment. How else would you do it?
December 4, 2013 at 12:23 am #344988
ChirayuBrahmbhattMemberMate, don’t know how but I know you can do this with JavaScript but somehow javascripts are not working as well
December 4, 2013 at 12:23 am #344989
ChirayuBrahmbhattMemberMate, don’t know how but I know you can do this with JavaScript but somehow javascripts are not working as well
December 4, 2013 at 12:42 am #344990
Paul_paulParticipantIf you can figure out a way to pay for goods on PayPal without logging into your account I’m sure everyone will want to know about it! So good luck with that.
December 4, 2013 at 1:41 am #344991
ChirayuBrahmbhattMemberMate I am talking about creating a java or php to create a webview forpaypal page inside the app page so user can login to their paypal account without leaving our app
I hope someone understands
Please let me know if this is possible
Cheers
December 4, 2013 at 5:08 am #344992
Paul_paulParticipantWith a native app going to a URL does not leave or close the app, perhaps you don’t understand…. Mate!
December 4, 2013 at 12:22 pm #344996
BrandonMemberNot sure it will work, but have you tried using AJAX load statement to get a basic html button:
Something like this in an html widget:
<div id=”success” width=”100″ height=”100″></div>
<script>
$(“#success”).load(“http://yoursite.com/paypalbuy.html”);//page you want to use with the paypal buy code
</script>December 4, 2013 at 4:03 pm #345000
ChirayuBrahmbhattMemberThanks buddy let me use this and will get back to you
December 9, 2013 at 5:02 pm #345115
ChirayuBrahmbhattMemberMate have tried and it works like a webview thanks buddy
-
AuthorPosts
