Hi
i am using the sample code of the corona paypal plugin i got some issues regarding the payment.
When i paying it takes any id and pass and saying success. how i validate that and i get the correct answer when i submit the correct id and pass.
please give me reply.
thanks
There we go Thanks for creating a new topic.
Ok, so I don’t fully understand the question. When making a payment request via paypal.show() there isn’t an id or pass parameter. Also, what do you mean by “correct answer”?
If you could try to explain this in greater detail it would really help us help you.
Thanks
when we login any email id and pass that time we get response as a status: approved.
paypal not checking email and pass …what i do
Ok so your saying that the login window is accepting any email and password combination, irregardless of whether they are real or test Paypal accounts?
This is because you have the environment value set to “noNetwork”. In this environment, it’s purely mock data, so it doesn’t check to see if accounts are valid or not.
What you want to do is set the environment to: “sandbox”. This does check for a valid account (sandbox accounts only). The same applies to “production” mode, but that is only when you are ready for final testing/publication of your app.
So in your paypal.config() function, set environment to “sandbox”.
Hope this helps.
so far its good.
i am using test paypal account. How i get the response that payment is done. only getting same response as previous.
http://docs.coronalabs.com/daily/plugin/PayPal/index.html
Please see the above docs. Especially this document: http://docs.coronalabs.com/daily/plugin/PayPal/show.html
That shows what payment responses you will get back from PayPal. A payment state of “approved” is what you are looking for.
when payment status is approved. But how i know were actual payment is done on which account … means business account, personal account.
Please see the bottom of this guide: http://gremlininteractive.com/paypal_developer_credentials/
(which is also linked to in the docs I posted above)
Basically the funds are sent to the account in which you set up the developer credentials with.
To quote the guide above:
In order to receive payments from your users, you must first set up your developer credentials as shown above. After doing this, any funds you receive in your app via PayPal, will be sent to the same PayPal email address as the one you used to login to the developer site, provided that you use the credentials from the previously logged in account. PayPal does not offer a way to send funds to a specific email address (out of the box, you could potentially accomplish this using PayPal’s mass payments api however), so remember to only use the credentials that reflect the PayPal account that you wish to receive funds on.
Thanks.
Now app is working very well. but i have one question is this app required paypal licence key or is it ok without licence key.
You have to buy a license key from our store before you are able to use the “production” mode. i.e. PayPal’s live servers. To handle real money. Which you would need to do before submitting your app to any of the app stores.
Please see our Plugin FAQ for more details: http://gremlininteractive.com/corona-plugins-faq/
Our store: http://gremlininteractive.com/product-category/corona-plugins/
There we go Thanks for creating a new topic.
Ok, so I don’t fully understand the question. When making a payment request via paypal.show() there isn’t an id or pass parameter. Also, what do you mean by “correct answer”?
If you could try to explain this in greater detail it would really help us help you.
Thanks
when we login any email id and pass that time we get response as a status: approved.
paypal not checking email and pass …what i do
Ok so your saying that the login window is accepting any email and password combination, irregardless of whether they are real or test Paypal accounts?
This is because you have the environment value set to “noNetwork”. In this environment, it’s purely mock data, so it doesn’t check to see if accounts are valid or not.
What you want to do is set the environment to: “sandbox”. This does check for a valid account (sandbox accounts only). The same applies to “production” mode, but that is only when you are ready for final testing/publication of your app.
So in your paypal.config() function, set environment to “sandbox”.
Hope this helps.
so far its good.
i am using test paypal account. How i get the response that payment is done. only getting same response as previous.
http://docs.coronalabs.com/daily/plugin/PayPal/index.html
Please see the above docs. Especially this document: http://docs.coronalabs.com/daily/plugin/PayPal/show.html
That shows what payment responses you will get back from PayPal. A payment state of “approved” is what you are looking for.
when payment status is approved. But how i know were actual payment is done on which account … means business account, personal account.
Please see the bottom of this guide: http://gremlininteractive.com/paypal_developer_credentials/
(which is also linked to in the docs I posted above)
Basically the funds are sent to the account in which you set up the developer credentials with.
To quote the guide above:
In order to receive payments from your users, you must first set up your developer credentials as shown above. After doing this, any funds you receive in your app via PayPal, will be sent to the same PayPal email address as the one you used to login to the developer site, provided that you use the credentials from the previously logged in account. PayPal does not offer a way to send funds to a specific email address (out of the box, you could potentially accomplish this using PayPal’s mass payments api however), so remember to only use the credentials that reflect the PayPal account that you wish to receive funds on.
Thanks.
Now app is working very well. but i have one question is this app required paypal licence key or is it ok without licence key.
You have to buy a license key from our store before you are able to use the “production” mode. i.e. PayPal’s live servers. To handle real money. Which you would need to do before submitting your app to any of the app stores.
Please see our Plugin FAQ for more details: http://gremlininteractive.com/corona-plugins-faq/
Our store: http://gremlininteractive.com/product-category/corona-plugins/