How to integrate PayPal Check Out in ASP.Net Core Razor Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need help from fellow members here that has experience with Razor Page, Razor Page Handler and fetch in JavaScript.
I will need a working sample on how it can be done and what should I put in in the .cs file .
I have created PayPalClient and SampleOrder classes but I don't know how to put it into action.
I have also followed the basic integration where the buttons are now showing but I don't want to use only JavaScript as the sample is also lacking as well and it provides little to no control.
The sample documentation is not even up to date when I copied all the code into the sample classes, the visual studio analyzer helped me correct them.
Any help from experts or members of the community is appreciated.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Is it possible to make payments in RON (Romanian Leu) through PayPal? in REST APIs
- Advance checkout in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)
- How to integrate PayPal during user signup to avoid re-entering credentials for future payments? in REST APIs
- Django-paypal form is not showing "pay with credit or debit card" option in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)
- Shopify PayPal integration, customer authorized multiple times in PayPal Payments Standard