Étiquettes
ASP.NET, ASP.NET MVC, C#.NET, PAYBOX, Payment On Line, PAYPAL, RAZOR, sandbox
05 jeudi Sep 2013
Posted ASP.NET, C#.NET, MemberShip, PayBox, Payment On Line, PayPal, Role provider, security, Visual Studio
inÉtiquettes
ASP.NET, ASP.NET MVC, C#.NET, PAYBOX, Payment On Line, PAYPAL, RAZOR, sandbox
Pingback: ASP.NET MVC Paybox Integration | Gora LEYE
Developer a dit:
Hello
I following your code but i got the error
« You have requested an outdated version of PayPal. This error often results from the use of bookmarks »
Can you help me take a look on this?
Thank in advance
goraleye a dit:
The response i have got from PayPal :
The cause and solution of this issue is dependent upon how you are integrated with PayPal this could be caused by one of the following.
1.) If using the Outlook payment wizard this is caused by the wizard adding a space in between the « cmd » variable name and the associated « = ». For example:
https://www.paypal.com/cgi-bin/webscr?cmd =_xclick
To resolve this you would need to generate the button and insert it into your email. Than select the button image and click insert > hyperlink in the Outlook programs top menu. In here you can see and remove the space referenced prior to sending the email.
2.) Or If using the PayPal standard buttons it can be caused by the enctype being passes. You will want to check your PayPal button code and see if it using an enctype= »multipart/form-data » in the opening FORM tag.
Here is an example:
Should be
These are the known issues that cause this error. There are other generic coding issues that can cause this error so please let me know if the above does not resolve the issue for you. Also please reply to this ticket with the integration type that you are using so that I may attach this ticket to the escalation in order that you may receive notification when the issue is resolved.
It is possible to send you my sample by email.
Regards
Ramesh a dit:
Hi Master,
i am getting an error like
« You have requested an outdated version of PayPal. This error often results from the use of bookmarks. » this paypal site
goraleye a dit:
Yi you can read my previous post or download sample at the end of totorial
Pingback: Paiement avec Paypal pour asp net mvc | Pragonas
Ashu a dit:
Thanks , Just same wht i am looking for.
Here facilitator means the one who receives payment right?
tell me about IPN.
san a dit:
Hi as u written i have completed this but in « RedirectFromPaypal » i want Payment transactionid of user…please help me to solve this
san a dit:
Hi as u written i have completed this but in « RedirectFromPaypal » i want Payment transactionid of user…please help me to solve this
goraleye a dit:
Hi, parameter tx contains the transactionId, so Request.Querystring[tx] must contains the transaction id if payment is succees
Regards
Rafael Gomez a dit:
Thanks for the article; just wondering you to integrate paypal in a ASP.NET MVC project I’m working in; seems easy with your help. Thanks
Rencontre Nouvelle Calédonie a dit:
Je vous felicite, c est un plaisir de vous lire
Rashid a dit:
what is the meaning of cmd properties in model
goraleye a dit:
Hi, the meaning of cmd is to Pass Individual Item Details to PayPal
https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#id08A6HF00TZS
Paris Sport a dit:
Je vous remercie enormement pour cette veritable source d information.
Le Jeux De Voiture a dit:
Sublime lecture, merci !!!
san a dit:
I want to make a recurring payment
can you please let me know what change I need to make in it.
goraleye a dit:
Hi,
you must call recursively the ValidateCommand action with parameters product and total price :
I have called it by the code :
@using (Html.BeginForm(« ValidateCommand », « PayPal »))
{
san a dit:
No I want to create the recurring profile of the user
and make the payment again with profileid
goraleye a dit:
want you the user to pay and logout , and login again to pay by keeping the same profileid ?
1 °) If yes you can user the user id and pass it in parameters.
look for class PayPalModel and locate the commented line below
// We can add parameters here, for example OrderId, CustomerId,
here you can add parameters you want.
2°) if not you can 1°) or use look for custum membership profile .
hope my are helped you.
regards
san a dit:
can you plese have a example for recurring profile
It’s will really really helpful
goraleye a dit:
Explain exactly what you want to do ?
case 1°) or case 2°) ?
san a dit:
I want the payment to occur every month for that user that after he made in the first month.
goraleye a dit:
the problem is not a specific PayPal solution but a development solution.
You must implément a service that is running and call the payment function each month.
take a look at this tutorial for doing repetitive jobs : https://logcorner.wordpress.com/2013/08/23/using-spring-net-and-quartz-net-job-scheduler/.
san a dit:
But that we need to store the paypal generareted profile Id for re billing .
How to create the profile in paypal and re bill it
goraleye a dit:
ok,
take a look here :
https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/CreateRecurringPaymentsProfile_API_Operation_SOAP/
Here, we have SOAP Webservices API hosted by paypal that you can use to perform many operations .
use ProfileStatus !!!
san a dit:
Hello Today I did the transaction with test account
I got the payment_status as pending and transaction Id diffrent from paypal account.
Still I see the transaction as compledted and success in my test paypal account
can you let me know why this happening?
san a dit:
Hello Today I did the transaction with test account
I got the payment_status as pending and transaction Id diffrent from paypal account.
Still I see the transaction as compledted and success in my test paypal account
can you let me know why this happening?
Sanket Vyas a dit:
i also face same problem and i also not receive any payment_status when using mobile or ipad why?
Pingback: gagner argent facile
Sanket Vyas a dit:
Hi, i have used your code to integrate Paypal in MVC but it received all time paymenet_status pending and i received pending_reason in multiple currency when using Sendbox. After put code into live and check from Mobile or ipad it doesn’t return payment_Status value, it receive NULL why? please help me.
www.cddesign.us/michael-kors-purses-are-made-to-be-a-perfect-accent-to-your-entire-look a dit:
ASP.NET MVC PayPal Integration | Gora LEYE
Baalaji selvarajan a dit:
Good Article
Shemeemsha a dit:
Hi ,,Payment working fine…After the payment,The Paypal redirecting to « http://localhost/PayPal/RedirectFromPaypal ».. But that page was not showing.. It showing 404 error??? Why???
..
goraleye a dit:
hi , you must have a view whose name is RedirectFromPaypal on PayPal folder or redirect it to an existing specific view.
Make sure the port number is also added (http://localhost:xxxx/PayPal/RedirectFromPaypal )
Shemeemsha a dit:
Oh..Thank You..Now its working…
And i tried
var st = Request.QueryString[tx];
But it showing « The name ‘tx’ does not exist in current context »
How to fix it???
Shemi a dit:
How to make refund request ????
Pingback: ASP.Net MVC PayPal integration | thobanjalodut's Blog
Smithd332 a dit:
I needed to thank you for this good read!! I certainly enjoyed every little bit of it. I’ve got you bookmarked to check out new stuff you post gfbdfeeckadeagge
Subeer Haldar a dit:
this works perfect, only amount is not deducted from « Personal » account.
even « Business » account has credited.
any idea?
accident law a dit:
Nice post. I learn something new and challenging on websites I stumbleupon on a daily basis. It’s always helpful to read through articles from other writers and practice a little something from other sites.
EA builder a dit:
This tutorial is great – but shouldn’t you use IPN verifications just in case the user closes the broswer or the tab and doesn’t get to the target URL on your website after completing the payment?
alex07321 a dit:
Thank you . Simple and easy way to implement PayPal.
Danieloi a dit:
Interesting post )
http://wndbl0v3.com my blog
jim a dit:
The only think I can say is: Thank you, Thank you, I check other tutorials about but one working fine is yours.
yang a dit:
how to receive message from notify url?
Julien Gras a dit:
Thanks for this article, it’s clear and simple.
But, couldn’t it be more secure to check the transaction when the user got back to our website ?
Do Paypal API offer that kind of check ?
In that way, we can automatically process the user request when he come back to the return url, but he couldn’t try to force this return url.
If you already done that check by code, do you have a sample ?
Many thanks
David a dit:
Just Thank you!
jishnu a dit:
hi your code working charm .but i have a doubt After test buying using sandbox account my transaction details shows » Unclaimed » ,And No money credited to Business sandbox account from my Persional sandbox account,What is the reason please replay must
syamalamajji a dit:
hi,
I followed your article. Its very nice and it is working fine in my asp.net mvc 4 version website local host also.But for capturing the response from paypal after successful transaction , I placed Request.QueryString[« tx »] in RedirectFromPaypal action but it showing « null » . How to get the transaction id ?.. Please respond
syamalamajji a dit:
Hi,
I followed your article. It’s very nice and it is working fine in my asp.net mvc 4 version website local host also.But for capturing the response from PayPal after successful transaction , I placed Request.QueryString[« tx »] in RedirectFromPaypal action but it showing « null » value for all transactions . How to get the transaction ID?.. Please respond
Sam a dit:
any help on how to pass multiple products to paypal checkout please?
Elias LL a dit:
thanks
varnoba a dit:
what about the response from paypal after the payment is successfully completed, request.querystring[« tx »] is showing null, please reply to this comment soon..thanks