Paypal flow URL approach in classic ASP - asp-classic

We are using old SDK payflow approach for online payment transactions but on the new server window 2012 we are having problem with the current code so decided to move URL approach for paypal credit card payment. Please help me how to start that. It would be good if you give me some example code. I am using Classic ASP for programming language.

Related

What Paypal SDK should I use?

I'm working on an asp.net web application that has two types of users. Advertiser and Publisher. Both of them have credit(money) in their accounts.
I need to integrate Paypal payments so that an advertiser can add money to his balance. And also for the publisher to be able to withdraw money from his balance (money he made using the website).
I've gone through the Paypal REST and classic API's. Downloaded and browsed the .net code samples provided by Paypal themselves but I'm still having trouble deciding which SDK should I use to satisfy both scenarios with the best experience possible for the user. I'm inclined towards MassPay (in the MerchantSDK) for the withdrawals but I'm not 100% sure of this.
Any help or guidance is appreciated.
Many thanks.
The short answer is that you should use the REST SDKs if at all possible. PayPal's products are moving to that API and once everything is there, support for older SDKs will be discontinued.

How to integrate PayPal Express Checkout with ASP.NET Web Pages site ("Razor")

I have an ASP.NET Razor / Web Pages site that I need to integrate with PayPal Express Checkout. Edit: this integration requires more than just a simple PayPal-generated button, e.g., I need to dynamically set the price, item description, tax etc.
I am quite new to both Web Pages and PayPal integration so would like to ask what the preferred approach would be.
So far, I have found there are these options:
Use PayPal Helper for WebMatrix
Just read the PayPal spec and create a form with hidden fields etc.
Use some of the NuGet packages from PayPal
Inspire in some custom code like this one
No. 1 is probably some outdated code (both the release date and recent reviews suggest that), no. 2 will certainly work but I'll be on my own, I'm hoping that no. 3 would be the best answer but there are many of those NuGet packages and I haven't found any good examples yet, and 4 is an option if no other works.
Any suggestions? The goal is to have a simple form, below it my custom "Pay Now" button (preferably; could be also a PayPal-provided button) and when user clicks it, the website should redirect him to PayPal, process the payment notification / approval etc.
I realize this question is old, but if you're looking for SDKs provided by PayPal that support Express Checkout, then you have the following two options:
PayPal .NET SDK
This SDK (formerly known as the "RestApiSdk") is built on the newer PayPal REST APIs and provides support for Express Checkout through the Payments API. All API calls use an OAuth token for security and the calls (and associated code) are a bit cleaner than its Classic counterpart. While some aspects of the REST services are still not quite up to par compared to Classic (e.g. Subscriptions), the Payments portion of the REST APIs is mostly at parity with Classic. Moving forward, this is the SDK that PayPal will be investing in and improving, so it's recommended that any new integrations use this SDK.
Recently, the .NET SDK repo on GitHub was updated with a Wiki that should hopefully make it easier to get started using the SDK. Also, a lot of work has also been put into the included samples project to help show how to use SDK with various use cases. And if there's a use case that's missing or needs better/more explanation, definitely don't hesitate to let me know on there. :)
PayPal Classic Merchant SDK
The Merchant SDK has been around for awhile and all the classes are auto-generated from PayPal's publicly-available WSDL schema files. While it provides support for every Express Checkout-related feature, using it is a bit more cumbersome than the REST-based SDK.
PayPal is no longer actively supporting the Merchant SDK and will only be providing bug fixes when necessary. For this reason, PayPal doesn't recommend using this SDK for new integrations.
If you find a feature that you enjoy using in this SDK that isn't available in the REST counterpart, please let me know here or on GitHub. One issue we've noticed for people looking to switch is the REST API does not provide payment history details for payments made via Classic calls. The PayPal SDK team is currently looking into ways this support can be added to the REST-based SDKs to make it easier for developers to make the transition.
The only option you have is to call rest api from asp.net web pages.
You can find the source code of rest api at following places.
https://github.com/paypal/rest-api-sdk-dotnet
http://paypal.github.io/sdk/
Borek,
if you just want PayPal Express Checkout the easiest way to do it is to simply create a PayPal "Buy It Now" button. You don't need to code anything.
You can find out how to do it here https://developer.paypal.com/docs/classic/paypal-payments-standard/ht_create-pps-buttons/ but the basic steps are:
Create the button inside PayPal.
Copy the button code inside PayPal.
Paste it into your website/email whatever.
Hope that helps!

Implementing Payment Gateways in ASP.net Web Application

I an developing a web application in ASP.Net using C#, under .Net Framework 4.0. Now its time to implement payment page in that application. I am asked to provide the facility of every payment mechanism (pay-pal, credit card, visa card, master card etc.)
Now to be honest i even don't know the difference among these card type :(. Please guide me how to achieve this and if possible also suggest the tentative time for implementing this.
PayPal can take just about all of these types - why not just have them process everything?
Its hard to give you an answer of implementation time as I have no idea what your application is like - but its fairly easy to setup.
Here is a paypal for dummies link:
http://www.dummies.com/how-to/content/adding-paypal-to-your-web-site.html

Sitecore e-commerce new payment provider

I'm having an issue with sitecore e-commerce since I'm very new to it ,I couldn't find any clear steps or code snippet about how to implement a new payment provider , I know that the Authorize.net is already implemented but I need to add PayFlow Pro payment provider , do I have to do new code changes ?if yes what are they ? please help
http://sdn.sitecore.net/upload/sdn5/products/sefe/sefe101/sefe_developers_cookbook-a4.pdf
Page 26 will help you :)
The SEFE 1.1 Payment Method Reference Guide provides details for "Implementing a New Payment Provider", including how to register it with Unity and step by step code samples for implementing the Sitecore.Ecommerce.DomainModel.Payments.IOnlinePaymentProvider interface.
Otherwise I've taken to ripping the provided SEFE Payment Providers apart using something like ILSpy or Reflector.
I've just blogged about how to create an on-site payment provider, but the steps I show could be used for an off-site payment provider with a little tweaking.
http://adeneys.wordpress.com/2011/08/10/sefe-on-site-payment-provider/

Real time chat implementation for SharePoint

I have a client interested in a real time chat application for a SharePoint intranet portal to enable online interview style chat sessions.
Has anyone got reccomendations for a product on the Microsoft Stack that does this? Something that is integrated into SharePoint would be prefferable, but any ASP.NET product would suffice.
The solution would need to be pretty robust as we would expect over 1000 users during a given session.
Microsoft Office Communication Server is the way Microsoft intended chat for SharePoint. I dont know if its just for 1 to 1 communcation or if there is a good multi-user support.
Another way to implement chat (or IM) in SharePoint is to use Windows Live Messanger and the green precense icon which shows up to the left of all names in SharePoint. But this is probably not the way you want to use chat.
We initially turned to handy Windows Live Messanger, However we dropped it because of security concerning.
We are using Groove, which look advisable so far.
FYI
There is ChatterBox. It's more of a demo app but the source code is available. The latest version is dated 2007 and is in beta with AJAX support.
As you have the source code, I'm sure you could take it and turn it into something nice.
I did a little work into this but dropped it because it take alot work to implete all needed features.
The easiest way looked to use IRC. IRC client software is available as asp.net, use via an iframe or make into a custom web part, there are also flash or java clients which could be imbedded.
You would need to setup a IRC server.
There is a third party product for SharePoint 2010 called GameTime that supports real-time web based chat integrated into SharePoint.

Resources