|
"PayPal Website Payments Standard" uses HTML buttons and forms on your website to
redirect buyers to PayPal in order to pay you. Buyers return to your website after
they complete their payment transaction using PayPal.
Before we start, it is recommended that you get introduced with this control by
following the Flash Video Demo presented below: (This flash video contains voice
presentation, so you should make sure that the speaker sound is turned on of your
computer.)
When you
add the assembly to your Visual Studio toolbox
, you will see a list of controls has been added as shown in the following
screenshot:
|
PayPal Website Payments Standard offers the following button types for Single Item
Payments:
Moreover, PayPal offers the following button types for Multiple Item Payments:
Furthermore, PayPal Offers the following button Types for periodical (Subscription)
payments.
Additionally the assembly comes with two useful non visual components:
|
Based on the PayPal Website Payments Standard e-Commerce pattern, we have divided
the business logic of this control into 3 phases. Pre Payment Phase, PayPal Phase,
Post Payment Phase.
Pre Payment Phase.
Pre Payment Phase includes programming & submitting your BuyNow Button/Donation Button/
Shopping Cart Buttons and Subscriptions Buttons.
An ASP.NET web form cannot contain nested html forms and that limitation makes it
impossible to use PayPal provided button html within an ASP.NET web form. But when
you use this control, you wont have to worry about any of those challenges at all.
You can place this control within
your ASPX web form and follow the enhanced design
time Smart Tag GUI Wizard for setting properties of your PayPal button which will be eventually transferred to PayPal website
as html form variables like "item_name", "item_number", "amount" etc. You can check those outgoing html form field values for debugging too.....More in details..
When you place an instance of any of the listed controls to your WebForm ( aspx page),
you will be offerred to configure the control properties using its enhanced
design time GUI support.
PayPal Phase
When your customer clicks on the button for purchase, he/she is taken to the PayPal Website and PayPal collects money from your customer for the item he/she purchases.
In order to set the visual style of the PayPal phase, this control comes with a
composite property name "PayPalDisplayPage" which contains sub properties like "PayPalDisplayPage.Header_BgColor",
"PayPalDisplayPage.Header_Image_URL" etc which can be predefined from the Pre Payment
Phase. When you are using the Design time GUI Wizard for configuring the button,
you will see a tab named "Step 2 (PayPal Website)" which contains settings wizard
for the styles and behaviours of PayPal phase as shown in the following screenshot.:

Post Payment Phase.
Post Payment
Phase includes handling
Instant Payment Notification (IPN)
and
Payment Data Transfer (PDT).
When your customer just made the payment, PayPal asynchronously notifies your website about the payment made by your customer (Instant
Payment Notification), this control fires IPN_Notified event and
collects the Posted IPN data and gives you an Object Oriented interface
for programming your post payment business logics.Click here to learn more...
When your buyer is returned to your web page from PayPal after the payment (either
completed or cancelled), this control fires PayPal_Returned
event and collects all PDT (payment
data transfer) data and gives you strongly typed Event Argument objects so that you can do
additional programming tasks in addition to saying "Thank you for your
payment." Click here to learn more...
This design pattern allows
the application developer easily organise pre payment and post payment business logics in the same page.
If you have purchased a license and
installed the license the license to your web application, the Web.Config file is updated with the License Information. You should replace your Web.Config file (existed in the server) with the new updated Web.Config file. Thats all about deploying this control.
Still Confused ?
If you are still confused, please check the sample application that comes with
the setup.exe file you have downloaded from our website. Also please do not
hesitate to ask us as many questions as you want from our
Help Desk
.
|