Hi, I have a question I'm am building a mobile app, pretty simple one. I don't want to use just a mobile website. The app has a music store embedded into the application. While testing, I see that when the I click to buy a track, that it forwards to paypal, On the paypal page it says that "cookies are not enabled on browser". I checked the mobile browser and cookies are enabled. This is the app id: 1980957
Is there a plugin I'm supposed to use?
Thanks for any help.
Is there a plugin I'm supposed to use?
Thanks for any help.
- 49 Posts
- 1 Reply Like
Posted 4 years ago
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
I checked the mobile browser and cookies are enabled.Does that Paypal page get displayed in a mobile browser, then? What about that music store....also in the browser?
- 49 Posts
- 1 Reply Like
The paypal page gets displayed in the device browser and the music store is being displayed through an iframe in the app.
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Well, then it seems to be a problem with Paypal in the mobile browser, only. Wouldn't it be better to ask in a Paypal forum, instead of the PGB community?
- 49 Posts
- 1 Reply Like
The reasom why I didn't ask here is because when you go to the link of the store on mobile everything works fine. But when I add it into my app, I get the issue with paypal.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
- 49 Posts
- 1 Reply Like
@jessemonroy650 yes I'm aware and I've seen your posts on other posts similar to this topic. I know that phonegap is neither a webserver or a web browser. What I would like to know is if that error message with the cookies not being enabled on browser is something that I did or didn't do with my code. And if so, what is it that I missed?
The app opens other links perfectly in the device browser with no issues. So why wouldn't this link?
The app opens other links perfectly in the device browser with no issues. So why wouldn't this link?
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Legend,
The good news is that your type arrogant is lacking on this forum. If you had bother to read the link, you would read:
Can you see the part where it says "does not exit; (...) cookies"?
So now, let's put this aside and get to the real problem. I believe you want to have Paypal working with your app. Is this correct?
Jesse
What I would like to know is if that error message with the cookies not being enabled on browser is something that I did or didn't do with my code. And if so, what is it that I missed?
The app opens other links perfectly in the device browser with no issues. So why wouldn't this link?
The good news is that your type arrogant is lacking on this forum. If you had bother to read the link, you would read:
(...) The framework is also NOT a webbrowser. This also means many of the BOM (Browser Object Model) compenents do not exist; such as "location bar", bookmarks, cookies, cache, CORS, etc.
Can you see the part where it says "does not exit; (...) cookies"?
So now, let's put this aside and get to the real problem. I believe you want to have Paypal working with your app. Is this correct?
Jesse
- 49 Posts
- 1 Reply Like
You're saying I was arrogant? If that's how you feel that was not my intention. And yes I would like paypal working. The music store is from a third party site and is embedded i to the app. So I cannot manipulate their paypal coding. Do you have any suggestions that can help for my app.
Any help is appreciated. Thanks.
Any help is appreciated. Thanks.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@legend,
Yes, slightly arrogant - at the very least presumptuous, but don't sweat it. I am often accused of being condescending - when I am actually direct.
Typically, when this is done a plugin is used.
What do you mean that it "is embedded i(n) to the app"?
You should be able to trap your pay points and exchange your code there.
Jesse
You're saying I was arrogant? If that's how you feel that was not my intention. And yes I would like paypal working. The music store is from a third party site and is embedded i to the app. So I cannot manipulate their paypal coding. Do you have any suggestions that can help for my app.
Yes, slightly arrogant - at the very least presumptuous, but don't sweat it. I am often accused of being condescending - when I am actually direct.
Typically, when this is done a plugin is used.
What do you mean that it "is embedded i(n) to the app"?
You should be able to trap your pay points and exchange your code there.
Jesse
- 49 Posts
- 1 Reply Like
Oh ok. And when I say embedded, I mean that the link to the music store is coded in my app in an iframe. To be clear, The music store itself has a link to it where ut can be accessed on mobile or desktop. I've coded that link in an iframe so it displays the music store player.
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
I have no idea, yet, why the cookies shouldn't work. But for test purposes, you could consider displaying the webshop in the mobile browser as well (using the inappbrowser plugin) and see if the Paypal payment works correctly, then. That might give you some more information about what and where things are going wrong...
- 49 Posts
- 1 Reply Like
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Petra,
Cookies don't work in webview. You need to add a plugin.
It should work with inAppBrowser as you suggested.
If not, use a wildcard with whitelist.
FWIW: my laptop is dead. I'm on my backup laptop.
It has none of my current notes. I'll be reduced in responding
for the week.
Best of Luck
Jesse
Cookies don't work in webview. You need to add a plugin.
It should work with inAppBrowser as you suggested.
If not, use a wildcard with whitelist.
FWIW: my laptop is dead. I'm on my backup laptop.
It has none of my current notes. I'll be reduced in responding
for the week.
Best of Luck
Jesse
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers

