What Paypal SDK should I use? - asp.net

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.

Related

Integrating payments with Firebase for Android and iOS

I'm developing an app that will have to process payments that can potentially even be international. The first payment gateway that comes to mind is PayPal. Is there a simple guide about how to integrate PayPal with Android Studio or Xcode with Firebase as the backend?
Also, how do I integrate Adaptive Payments?
If you think, PayPal doesn't fit the bill, please feel free to suggest other payment gateways and the way in which I should integrate it.
PS: I have seen the SDK for PayPal but I'd like some first hand knowledge from somebody.
You will find at the following URL an example (from Firebase) on how to implement Paypal payment with Cloud Functions (with the advantage that everything is done in the -serverless- backend):
https://github.com/firebase/functions-samples/tree/master/paypal

Difference between point of sale like shopify and ecommerce solution like magento

I'm migrating to an ecommerce platform that would help me sell my products online to a wider user base. I am told Shopify/Zepo is an online shop for small businesses and Magento/woocommerce are solutions. What exactly is the difference between a "shop" and "solution"? Or what if I build a site from scratch? Where do I start from?
Shopify/Zepo are SaaS ecommerce platforms which can handle milions of visits/transactions per day if your store is a real success.
Magento/woocommerce are 'own hosted' tools/platforms.
Both are ok to start with, but if you think you'll do good, be careful on the last ones. They might seem cheap at the beginning but they can eventually ruin your business.
When starting it's always wiser to start with a SaaS tool which has no upfront costs and allow you to download all your data (products, customers, orders) in case you want to move to another platform.
Starting with Magento or WooCommerce will force you to have a sys team or a web developer almost permanently doing server-packages updates and so, let alone security, performance and scalability issues.
I do not believe using an off-the-shelf SAAS alone will ever be enough for a successful ecommerce website.
If you want to have a successful ecommerce solution you will need at least a good web developer to keep your site up-to-date.
Moreover, there will be many opportunities such as integration with your back-end systems that an off-the-shelf SAAS might not be able to handle.
My advice is to find a good technical resource, even if it's just one web developer, and build your product together - invariably it's more about people than technology or platform.

Sage Evolution website integration

A client asked us if it's possible to have the products on their website integrated with Sage Evolution so that when products are purchased online by users the stock values on Sage Evolution will be updated as well. The client would like this to be integrated with their existing WordPress site.
From what I've found so far, I don't think there's anything already available to use with WordPress except the SagePay through WooCommerce plugin. I'm not quite sure if this connects to a Sage client and updates the stock as well.
I found a Sage Evolution SDK that can be used but I doubt the client would buy with that kind of fees. There's also the SData api which I found here: Integrating with Sage Financial Software.
I'm not sure if you can use SData with Sage Evolution.
I would appreciate any help on this, thank in advance :)
As you've already noted, Sage Evolution has its own SDK and does not use the SData standard. Developers need to purchase a developer license and end-customers need to purchase a customer license.
I'd strongly recommend you don't go straight to the database as direct db writes could compromise transactional integrity and the Evolution database tends to change structurally quite frequently.
To use the SDK, you can't avoid the customer license fee but you can get a head start and avoid coding the integration by hand with Flowgear (www.flowgear.net). The Community plan is free and supports low transactional volumes. More about the connector at http://www.flowgear.net/pre-built/sage-evolution and https://developers.flowgear.net/kb/Node:Sage_Evolution
Disclosure: I work at Flowgear.

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!

Subscription Website Software

I've been tasked with developing a website that requires a subscription fee to access certain areas of the website, to be paid quarterly. It may also be necessary to pay out to members a small amount but nothing is confirmed yet. The website will be built in ASP.Net. Does anyone know of any subscription systems I can build on top of? Preferably with a busy community.
You could try Spreedly; http://www.spreedly.com/
They have a fantastic subscription based system that's easy to modify and an API for you to introduce that functionality into any application you build. They handle all the payments and credit card bits and just fund a specified PayPal account.

Resources