Click here to Skip to main content
12,950,090 members (51,071 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I have using the following code to try to work with my MVC. I am not using aspx. I using cshtml.

I copy the code form the following website that get me part of the way.[^]

I have change the code to match new NVP ie AMT to PAYMENTREQUEST_0_AMT, DESC to PAYMENTREQUEST_0_DESC and so on. Yet the product and dollar amount is not passing to paypal.

Please if any can help I would appreciated.

I have look at the following video.[^]

I cannot get the amount and product number to pass to the order summary. Plus when i login to test account to process amount not process. I am not getting an error because the description is is showing in the paypal order summary. How much to fix if I uplaod my files. The link is what I getting when I click submit button
My Paypal Image file
Here are the Zip files Zip files
Posted 13-Jun-12 9:32am
Updated 18-Jun-12 9:10am
Zoltán Zörgő 13-Jun-12 15:43pm
You can do everything in razor what you can do in aspx. It is only an other templating engine. And it affects only the views. The controllers and models are the same. And by the way, you can mix them, if you are lazy: one view in razor, other in aspx :)
Try first the original code you have linked. if that works, you can change your related views to razor. If not, then the problem lies elsewhere.
shelbyposton 13-Jun-12 15:57pm
Let me understand. I can create aspx pages with razor pages. I will try if so you have been very valuable to me. thanks. If this works I only have to rewrite two forms
Zoltán Zörgő 13-Jun-12 16:27pm
Not exactly - but I suppose this is enough for you. You can have both aspx and cshtml views in one application.
shelbyposton 13-Jun-12 17:12pm
I can have both aspx and cshtml views in one application. That is what I mean.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Check in the form tag for the required parameter for paypal is correct.
then submit the view(form).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 5,749
CHill60 3,380
Maciej Los 2,953
Jochen Arndt 1,935
ppolymorphe 1,820

Advertise | Privacy | Mobile
Web01 | 2.8.170525.1 | Last Updated 19 Jun 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100