SlideShare a Scribd company logo






protected void DoSetEC(object sender, EventArgs e)
       {
           try
           {
               caller = new NVPCallerServices();
               setProfile(MyProfile, “APIUsername”,”APIPassword”,”APISignature”);
               MyCodec["METHOD"] = "SetExpressCheckout";
               MyCodec["VERSION"] = “82“;
               MyCodec["CANCELURL"] = ”MyCancelURL";
               MyCodec["RETURNURL"] = ”MyReturnURL”;

               MyCodec["PAYMENTREQUEST_0_CURRENCYCODE"] = "GBP";
               MyCodec["PAYMENTREQUEST_0_PAYMENTACTION"] = "Sale";

               MyCodec["L_PAYMENTREQUEST_0_NAME0"] = ”Item in my Shopping cart";
               MyCodec["L_PAYMENTREQUEST_0_AMT0"] = "24.48";
               MyCodec["L_PAYMENTREQUEST_0_QTY0"] = "2”;

               MyCodec["PAYMENTREQUEST_0_ITEMAMT"] = "43.96";
               MyCodec["PAYMENTREQUEST_0_SHIPPINGAMT"] = "1.50";
               MyCodec["PAYMENTREQUEST_0_AMT"] = ”45.46”

               caller.Initialize();
               caller.APIProfile = MyProfile;

               MyNVPRequest = MyCodec.Encode();
               MyNVPResponse = caller.Call(MyNVPRequest);
               MyRespoCodec.Decode(MyNVPResponse);

               if (MyRespoCodec["ACK"] != "Success" && MyRespoCodec["ACK"] != "SUCCESSWITHWARNING")
               { /*display error message*/}
               else
               {
                      MyToken = MyRespoCodec["TOKEN"].ToString();
                      Response.Redirect(@"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=" + MyToken);
               }
           }
           catch (Exception exp)
           {/*sort out exceptions*/}
       }
protected void DoGetEC(string token, string PayerID)
       {
           try
           {
               caller = new NVPCallerServices();
               setProfile(MyProfile, “APIUsername”,”APIPassword”,”APISignature”);

                MyCodec["METHOD"] = "GetExpressCheckoutDetails";
                MyCodec["TOKEN"] = MyToken;

                caller.Initialize();
                caller.APIProfile = MyProfile;
                MyNVPRequest = MyCodec.Encode();
                MyNVPResponse = caller.Call(MyNVPRequest);
                MyRespoCodec.Decode(MyNVPResponse);

                if (MyRespoCodec["ACK"] != "Success" && MyRespoCodec["ACK"] != "SUCCESSWITHWARNING")
                { /*display error message*/}
                else
                {/*Get information on the buyer and the transaction*/

CollectShippingDetails(MyRespoCodec[”SHIPPTONAME"], MyRespoCodec[”SHIPTOSTREET1"], MyRespoCodec[”SHIPTOSTREET2”], MyRespoCodec[”SHIPTOCITY”],



                    MyRespoCodec[”SHIPTOPOSTALCODE"], MyRespoCodec[”SHIPTOCOUNTRY"]);
                }
           }
           catch (Exception exp)
           {/*sort out exceptions*/}
       }
protected void DoECPayment(string token, string PayerID)
       {
           try
           {
               caller = new NVPCallerServices();
               setProfile(MyProfile, “APIUsername”,”APIPassword”,”APISignature”);

               MyCodec["METHOD"] = "DoExpressCheckoutPayment";
               MyCodec["TOKEN"] = token;
               MyCodec["PAYERID"] = PayerID;
               MyCodec["PAYMENTACTION"] = "Sale";
               MyCodec["CURRENCYCODE"] = “GBP”;
               MyCodec["AMT"] = "39.90";

               caller.Initialize();
               caller.APIProfile = MyProfile;
               MyNVPRequest = MyCodec.Encode();
               MyNVPResponse = caller.Call(MyNVPRequest);
               MyRespoCodec.Decode(MyNVPResponse);

               if (MyRespoCodec["ACK"] != "Success" && MyRespoCodec["ACK"] != "SUCCESSWITHWARNING")
               { /*display error message*/}
               else
               {/*Get information on the payment status*/
                   TxnID = MyRespoCodec[”TRANSACTIONID"] ;
                   if (MyRespoCodec[”PAYMENTSTATUS"] != “Completed”)
                   {/*Handle Incomplete transaction*/}
                   else {/*Fulfill order*/}
               }
          }
          catch (Exception exp)
          {/*sort out exceptions*/}
      }
₤
₤


        ₤


    ₤
protected void DoSetEC(object sender, EventArgs e)
        {
            try
            {
                caller = new NVPCallerServices();
                setProfile(MyProfile, “APIUsername”,”APIPassword”,”APISignature”);
                MyCodec["METHOD"] = "SetExpressCheckout";
                MyCodec["VERSION"] = “82“;
                MyCodec["CANCELURL"] = ”MyCancelURL";
                MyCodec["RETURNURL"] = ”MyReturnURL”;

                MyCodec["PAYMENTREQUEST_0_CURRENCYCODE"] = ”USD";
                MyCodec["PAYMENTREQUEST_0_PAYMENTACTION"] = "Sale";
                MyCodec["PAYMENTREQUEST_0_SELLERID"] = ”paypal@bookit.com”;

                MyCodec["L_PAYMENTREQUEST_0_NAME0"] = ”Booking for my hotel";
                MyCodec["L_PAYMENTREQUEST_0_AMT0"] = ”423.35";
                MyCodec["L_PAYMENTREQUEST_0_QTY0"] = “1”;

                MyCodec["PAYMENTREQUEST_0_ITEMAMT"] = ”423.35";
                MyCodec["PAYMENTREQUEST_0_AMT"] = ”423.35”

                MyCodec["PAYMENTREQUEST_1_CURRENCYCODE"] = ”USD";
                MyCodec["PAYMENTREQUEST_1_PAYMENTACTION"] = "Sale”;
                MyCodec["PAYMENTREQUEST_1_SELLERID"] = ”paypal@usairlines.com”;

                MyCodec["L_PAYMENTREQUEST_1_NAME0"] = ”Plane tickets";
                MyCodec["L_PAYMENTREQUEST_1_AMT0"] = ”1348.53";
                MyCodec["L_PAYMENTREQUEST_1_QTY0"] = “1”;

                MyCodec["PAYMENTREQUEST_1_ITEMAMT"] = ”1348.53";
                MyCodec["PAYMENTREQUEST_1_AMT"] = ”1348.53”;

               /*Complete API call*/
           }
           catch
           {/*deal with exceptions*/}
       }















protected void DoSetEC(object sender, EventArgs e)
        {
            try
            {
                caller = new NVPCallerServices();
                setProfile(MyProfile, “APIUsername”,”APIPassword”,”APISignature”);
                MyCodec["METHOD"] = "SetExpressCheckout";
                MyCodec["VERSION"] = “82“;
                MyCodec["CANCELURL"] = ”MyCancelURL";
                MyCodec["RETURNURL"] = ”MyReturnURL”;
                MyCodec["PAYMENTREQUEST_0_CURRENCYCODE"] = ”GBP";
                MyCodec["PAYMENTREQUEST_0_PAYMENTACTION"] = "Sale";
                MyCodec["PAYMENTREQUEST_0_ITEMAMT"] = ”23.35";
                MyCodec["PAYMENTREQUEST_0_AMT"] = ”23.35”
               MyCodec["L_BILLINGTYPE0"] = "MerchantInitiatedBilling”;
               MyCodec["L_PAYMENTTYPE0"] = "InstantOnly";
               MyCodec["L_BILLINGAGREEMENTDESCRIPTION0"] = ”Car Insurance";
               MyCodec["L_BILLINGAGREEMENTCUSTOM0"] = "MyTest";
               /*Complete API call*/
           } catch {/*deal with exceptions*/}
       }


 protected void StartReferenceTxn(string transactionID)
        {
                caller = new NVPCallerServices();
                setProfile(MyProfile);

                MyCodec["METHOD"] = "DoReferenceTransaction";
                MyCodec["REFERENCEID"] = transactionID;
                MyCodec["PAYMENTACTION"] = "Sale”;
                MyCodec["AMT"] = ”39.95”;
                MyCodec["CURRENCYCODE"] = "GBP”;
                MyCodec["SOFTDESCRIPTOR"] = ”Car Insurance Installment”;

               /*Complete API call*/
           } catch {/*deal with exceptions*/}
       }







<script>
var dg = new PAYPAL.apps.DGFlow({
trigger: "submitBtn”
});
</script>




https://www.sandbox.paypal.com/incontext?token=<token>




<script>
top.dg.closeFlow();
</script>





Webit expo Standard Product

More Related Content

What's hot

Laporan multiclient chatting client server
Laporan multiclient chatting client serverLaporan multiclient chatting client server
Laporan multiclient chatting client servertrilestari08
 
“iOS 11 в App in the Air”, Пронин Сергей, App in the Air
“iOS 11 в App in the Air”, Пронин Сергей, App in the Air“iOS 11 в App in the Air”, Пронин Сергей, App in the Air
“iOS 11 в App in the Air”, Пронин Сергей, App in the Air
AvitoTech
 
Your code sucks, let's fix it - DPC UnCon
Your code sucks, let's fix it - DPC UnConYour code sucks, let's fix it - DPC UnCon
Your code sucks, let's fix it - DPC UnCon
Rafael Dohms
 
8 sql injection
8   sql injection8   sql injection
8 sql injectiondrewz lin
 
Open Selector
Open SelectorOpen Selector
Open Selectorjjdelc
 
Produce Cleaner Code with Aspect-Oriented Programming
Produce Cleaner Code with Aspect-Oriented ProgrammingProduce Cleaner Code with Aspect-Oriented Programming
Produce Cleaner Code with Aspect-Oriented Programming
PostSharp Technologies
 
Security Meetup 22 октября. «Реверс-инжиниринг в Enterprise». Алексей Секрето...
Security Meetup 22 октября. «Реверс-инжиниринг в Enterprise». Алексей Секрето...Security Meetup 22 октября. «Реверс-инжиниринг в Enterprise». Алексей Секрето...
Security Meetup 22 октября. «Реверс-инжиниринг в Enterprise». Алексей Секрето...
Mail.ru Group
 
T-121-5300 (2008) User Interface Design 10 - UIML
T-121-5300 (2008) User Interface Design 10 - UIMLT-121-5300 (2008) User Interface Design 10 - UIML
T-121-5300 (2008) User Interface Design 10 - UIMLmniemi
 
PHP Object Injection Vulnerability in WordPress: an Analysis
PHP Object Injection Vulnerability in WordPress: an AnalysisPHP Object Injection Vulnerability in WordPress: an Analysis
PHP Object Injection Vulnerability in WordPress: an AnalysisPositive Hack Days
 
Obfuscation-Resilient Privacy Leak Detection for Mobile Apps
Obfuscation-Resilient Privacy Leak Detection for Mobile Apps Obfuscation-Resilient Privacy Leak Detection for Mobile Apps
Obfuscation-Resilient Privacy Leak Detection for Mobile Apps
NECST Lab @ Politecnico di Milano
 
Practical JavaScript Programming - Session 4/8
Practical JavaScript Programming - Session 4/8Practical JavaScript Programming - Session 4/8
Practical JavaScript Programming - Session 4/8
Wilson Su
 
Mt4 push-api
Mt4 push-apiMt4 push-api
Mt4 push-api
FX Brokers
 
Bare-knuckle web development
Bare-knuckle web developmentBare-knuckle web development
Bare-knuckle web development
Johannes Brodwall
 
Java script
Java scriptJava script
Java script
Adrian Caetano
 
[FDD 2017] Mark Seemann - Humane code
[FDD 2017] Mark Seemann - Humane code[FDD 2017] Mark Seemann - Humane code
[FDD 2017] Mark Seemann - Humane code
Future Processing
 
Php Security By Mugdha And Anish
Php Security By Mugdha And AnishPhp Security By Mugdha And Anish
Php Security By Mugdha And Anish
OSSCube
 
SQLAlchemy Seminar
SQLAlchemy SeminarSQLAlchemy Seminar
SQLAlchemy Seminar
Yury Yurevich
 
7 client-state manipulation
7   client-state manipulation7   client-state manipulation
7 client-state manipulationdrewz lin
 
Your code is not a string
Your code is not a stringYour code is not a string
Your code is not a string
Ingvar Stepanyan
 
Proposed PHP function: is_literal()
Proposed PHP function: is_literal()Proposed PHP function: is_literal()
Proposed PHP function: is_literal()
Craig Francis
 

What's hot (20)

Laporan multiclient chatting client server
Laporan multiclient chatting client serverLaporan multiclient chatting client server
Laporan multiclient chatting client server
 
“iOS 11 в App in the Air”, Пронин Сергей, App in the Air
“iOS 11 в App in the Air”, Пронин Сергей, App in the Air“iOS 11 в App in the Air”, Пронин Сергей, App in the Air
“iOS 11 в App in the Air”, Пронин Сергей, App in the Air
 
Your code sucks, let's fix it - DPC UnCon
Your code sucks, let's fix it - DPC UnConYour code sucks, let's fix it - DPC UnCon
Your code sucks, let's fix it - DPC UnCon
 
8 sql injection
8   sql injection8   sql injection
8 sql injection
 
Open Selector
Open SelectorOpen Selector
Open Selector
 
Produce Cleaner Code with Aspect-Oriented Programming
Produce Cleaner Code with Aspect-Oriented ProgrammingProduce Cleaner Code with Aspect-Oriented Programming
Produce Cleaner Code with Aspect-Oriented Programming
 
Security Meetup 22 октября. «Реверс-инжиниринг в Enterprise». Алексей Секрето...
Security Meetup 22 октября. «Реверс-инжиниринг в Enterprise». Алексей Секрето...Security Meetup 22 октября. «Реверс-инжиниринг в Enterprise». Алексей Секрето...
Security Meetup 22 октября. «Реверс-инжиниринг в Enterprise». Алексей Секрето...
 
T-121-5300 (2008) User Interface Design 10 - UIML
T-121-5300 (2008) User Interface Design 10 - UIMLT-121-5300 (2008) User Interface Design 10 - UIML
T-121-5300 (2008) User Interface Design 10 - UIML
 
PHP Object Injection Vulnerability in WordPress: an Analysis
PHP Object Injection Vulnerability in WordPress: an AnalysisPHP Object Injection Vulnerability in WordPress: an Analysis
PHP Object Injection Vulnerability in WordPress: an Analysis
 
Obfuscation-Resilient Privacy Leak Detection for Mobile Apps
Obfuscation-Resilient Privacy Leak Detection for Mobile Apps Obfuscation-Resilient Privacy Leak Detection for Mobile Apps
Obfuscation-Resilient Privacy Leak Detection for Mobile Apps
 
Practical JavaScript Programming - Session 4/8
Practical JavaScript Programming - Session 4/8Practical JavaScript Programming - Session 4/8
Practical JavaScript Programming - Session 4/8
 
Mt4 push-api
Mt4 push-apiMt4 push-api
Mt4 push-api
 
Bare-knuckle web development
Bare-knuckle web developmentBare-knuckle web development
Bare-knuckle web development
 
Java script
Java scriptJava script
Java script
 
[FDD 2017] Mark Seemann - Humane code
[FDD 2017] Mark Seemann - Humane code[FDD 2017] Mark Seemann - Humane code
[FDD 2017] Mark Seemann - Humane code
 
Php Security By Mugdha And Anish
Php Security By Mugdha And AnishPhp Security By Mugdha And Anish
Php Security By Mugdha And Anish
 
SQLAlchemy Seminar
SQLAlchemy SeminarSQLAlchemy Seminar
SQLAlchemy Seminar
 
7 client-state manipulation
7   client-state manipulation7   client-state manipulation
7 client-state manipulation
 
Your code is not a string
Your code is not a stringYour code is not a string
Your code is not a string
 
Proposed PHP function: is_literal()
Proposed PHP function: is_literal()Proposed PHP function: is_literal()
Proposed PHP function: is_literal()
 

Similar to Webit expo Standard Product

MVVM e Caliburn Micro for Windows Phone applications
MVVM e Caliburn Micro for Windows Phone applicationsMVVM e Caliburn Micro for Windows Phone applications
MVVM e Caliburn Micro for Windows Phone applications
Matteo Pagani
 
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
Mateusz Zalewski
 
Version1.0 StartHTML000000232 EndHTML000065057 StartFragment0000.docx
Version1.0 StartHTML000000232 EndHTML000065057 StartFragment0000.docxVersion1.0 StartHTML000000232 EndHTML000065057 StartFragment0000.docx
Version1.0 StartHTML000000232 EndHTML000065057 StartFragment0000.docx
tienboileau
 
Assignment7.pdf
Assignment7.pdfAssignment7.pdf
Assignment7.pdf
dash41
 
Introduction to Zend Framework web services
Introduction to Zend Framework web servicesIntroduction to Zend Framework web services
Introduction to Zend Framework web services
Michelangelo van Dam
 
Power Shell Commands
Power Shell CommandsPower Shell Commands
Power Shell Commands
Sushree Nanda
 
Zero to SOLID
Zero to SOLIDZero to SOLID
Zero to SOLID
Vic Metcalfe
 
Managing State in React Apps with RxJS by James Wright at FrontCon 2019
Managing State in React Apps with RxJS by James Wright at FrontCon 2019Managing State in React Apps with RxJS by James Wright at FrontCon 2019
Managing State in React Apps with RxJS by James Wright at FrontCon 2019
DevClub_lv
 
Securing RESTful Payment APIs Using OAuth 2
Securing RESTful Payment APIs Using OAuth 2Securing RESTful Payment APIs Using OAuth 2
Securing RESTful Payment APIs Using OAuth 2
Jonathan LeBlanc
 
Teaching Your Machine To Find Fraudsters
Teaching Your Machine To Find FraudstersTeaching Your Machine To Find Fraudsters
Teaching Your Machine To Find Fraudsters
Ian Barber
 
Grails UI Primer
Grails UI PrimerGrails UI Primer
Grails UI Primer
Matthew Taylor
 
My Development Story
My Development StoryMy Development Story
My Development Story
Takahiro Fujiwara
 
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze..."Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
Mateusz Zalewski
 
Soap tips
Soap tipsSoap tips
Soap tips
raviduttbalwal
 
Muster in Webcontrollern
Muster in WebcontrollernMuster in Webcontrollern
Muster in Webcontrollern
Jens Himmelreich
 
Building an End-to-End AngularJS Application
Building an End-to-End AngularJS ApplicationBuilding an End-to-End AngularJS Application
Building an End-to-End AngularJS Application
Dan Wahlin
 

Similar to Webit expo Standard Product (20)

Marcus Portfolio
Marcus  PortfolioMarcus  Portfolio
Marcus Portfolio
 
MVVM e Caliburn Micro for Windows Phone applications
MVVM e Caliburn Micro for Windows Phone applicationsMVVM e Caliburn Micro for Windows Phone applications
MVVM e Caliburn Micro for Windows Phone applications
 
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
 
Version1.0 StartHTML000000232 EndHTML000065057 StartFragment0000.docx
Version1.0 StartHTML000000232 EndHTML000065057 StartFragment0000.docxVersion1.0 StartHTML000000232 EndHTML000065057 StartFragment0000.docx
Version1.0 StartHTML000000232 EndHTML000065057 StartFragment0000.docx
 
Assignment7.pdf
Assignment7.pdfAssignment7.pdf
Assignment7.pdf
 
Introduction to Zend Framework web services
Introduction to Zend Framework web servicesIntroduction to Zend Framework web services
Introduction to Zend Framework web services
 
Power Shell Commands
Power Shell CommandsPower Shell Commands
Power Shell Commands
 
Zero to SOLID
Zero to SOLIDZero to SOLID
Zero to SOLID
 
Managing State in React Apps with RxJS by James Wright at FrontCon 2019
Managing State in React Apps with RxJS by James Wright at FrontCon 2019Managing State in React Apps with RxJS by James Wright at FrontCon 2019
Managing State in React Apps with RxJS by James Wright at FrontCon 2019
 
Securing RESTful Payment APIs Using OAuth 2
Securing RESTful Payment APIs Using OAuth 2Securing RESTful Payment APIs Using OAuth 2
Securing RESTful Payment APIs Using OAuth 2
 
Teaching Your Machine To Find Fraudsters
Teaching Your Machine To Find FraudstersTeaching Your Machine To Find Fraudsters
Teaching Your Machine To Find Fraudsters
 
project
projectproject
project
 
Grails UI Primer
Grails UI PrimerGrails UI Primer
Grails UI Primer
 
My Development Story
My Development StoryMy Development Story
My Development Story
 
Map kit light
Map kit lightMap kit light
Map kit light
 
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze..."Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
 
Twitter codeigniter library
Twitter codeigniter libraryTwitter codeigniter library
Twitter codeigniter library
 
Soap tips
Soap tipsSoap tips
Soap tips
 
Muster in Webcontrollern
Muster in WebcontrollernMuster in Webcontrollern
Muster in Webcontrollern
 
Building an End-to-End AngularJS Application
Building an End-to-End AngularJS ApplicationBuilding an End-to-End AngularJS Application
Building an End-to-End AngularJS Application
 

Recently uploaded

Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
ViralQR
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 

Recently uploaded (20)

Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 

Webit expo Standard Product

  • 1.
  • 2.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. protected void DoSetEC(object sender, EventArgs e) { try { caller = new NVPCallerServices(); setProfile(MyProfile, “APIUsername”,”APIPassword”,”APISignature”); MyCodec["METHOD"] = "SetExpressCheckout"; MyCodec["VERSION"] = “82“; MyCodec["CANCELURL"] = ”MyCancelURL"; MyCodec["RETURNURL"] = ”MyReturnURL”; MyCodec["PAYMENTREQUEST_0_CURRENCYCODE"] = "GBP"; MyCodec["PAYMENTREQUEST_0_PAYMENTACTION"] = "Sale"; MyCodec["L_PAYMENTREQUEST_0_NAME0"] = ”Item in my Shopping cart"; MyCodec["L_PAYMENTREQUEST_0_AMT0"] = "24.48"; MyCodec["L_PAYMENTREQUEST_0_QTY0"] = "2”; MyCodec["PAYMENTREQUEST_0_ITEMAMT"] = "43.96"; MyCodec["PAYMENTREQUEST_0_SHIPPINGAMT"] = "1.50"; MyCodec["PAYMENTREQUEST_0_AMT"] = ”45.46” caller.Initialize(); caller.APIProfile = MyProfile; MyNVPRequest = MyCodec.Encode(); MyNVPResponse = caller.Call(MyNVPRequest); MyRespoCodec.Decode(MyNVPResponse); if (MyRespoCodec["ACK"] != "Success" && MyRespoCodec["ACK"] != "SUCCESSWITHWARNING") { /*display error message*/} else { MyToken = MyRespoCodec["TOKEN"].ToString(); Response.Redirect(@"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=" + MyToken); } } catch (Exception exp) {/*sort out exceptions*/} }
  • 9. protected void DoGetEC(string token, string PayerID) { try { caller = new NVPCallerServices(); setProfile(MyProfile, “APIUsername”,”APIPassword”,”APISignature”); MyCodec["METHOD"] = "GetExpressCheckoutDetails"; MyCodec["TOKEN"] = MyToken; caller.Initialize(); caller.APIProfile = MyProfile; MyNVPRequest = MyCodec.Encode(); MyNVPResponse = caller.Call(MyNVPRequest); MyRespoCodec.Decode(MyNVPResponse); if (MyRespoCodec["ACK"] != "Success" && MyRespoCodec["ACK"] != "SUCCESSWITHWARNING") { /*display error message*/} else {/*Get information on the buyer and the transaction*/ CollectShippingDetails(MyRespoCodec[”SHIPPTONAME"], MyRespoCodec[”SHIPTOSTREET1"], MyRespoCodec[”SHIPTOSTREET2”], MyRespoCodec[”SHIPTOCITY”], MyRespoCodec[”SHIPTOPOSTALCODE"], MyRespoCodec[”SHIPTOCOUNTRY"]); } } catch (Exception exp) {/*sort out exceptions*/} }
  • 10. protected void DoECPayment(string token, string PayerID) { try { caller = new NVPCallerServices(); setProfile(MyProfile, “APIUsername”,”APIPassword”,”APISignature”); MyCodec["METHOD"] = "DoExpressCheckoutPayment"; MyCodec["TOKEN"] = token; MyCodec["PAYERID"] = PayerID; MyCodec["PAYMENTACTION"] = "Sale"; MyCodec["CURRENCYCODE"] = “GBP”; MyCodec["AMT"] = "39.90"; caller.Initialize(); caller.APIProfile = MyProfile; MyNVPRequest = MyCodec.Encode(); MyNVPResponse = caller.Call(MyNVPRequest); MyRespoCodec.Decode(MyNVPResponse); if (MyRespoCodec["ACK"] != "Success" && MyRespoCodec["ACK"] != "SUCCESSWITHWARNING") { /*display error message*/} else {/*Get information on the payment status*/ TxnID = MyRespoCodec[”TRANSACTIONID"] ; if (MyRespoCodec[”PAYMENTSTATUS"] != “Completed”) {/*Handle Incomplete transaction*/} else {/*Fulfill order*/} } } catch (Exception exp) {/*sort out exceptions*/} }
  • 11. ₤ ₤ ₤ ₤
  • 12.
  • 13. protected void DoSetEC(object sender, EventArgs e) { try { caller = new NVPCallerServices(); setProfile(MyProfile, “APIUsername”,”APIPassword”,”APISignature”); MyCodec["METHOD"] = "SetExpressCheckout"; MyCodec["VERSION"] = “82“; MyCodec["CANCELURL"] = ”MyCancelURL"; MyCodec["RETURNURL"] = ”MyReturnURL”; MyCodec["PAYMENTREQUEST_0_CURRENCYCODE"] = ”USD"; MyCodec["PAYMENTREQUEST_0_PAYMENTACTION"] = "Sale"; MyCodec["PAYMENTREQUEST_0_SELLERID"] = ”paypal@bookit.com”; MyCodec["L_PAYMENTREQUEST_0_NAME0"] = ”Booking for my hotel"; MyCodec["L_PAYMENTREQUEST_0_AMT0"] = ”423.35"; MyCodec["L_PAYMENTREQUEST_0_QTY0"] = “1”; MyCodec["PAYMENTREQUEST_0_ITEMAMT"] = ”423.35"; MyCodec["PAYMENTREQUEST_0_AMT"] = ”423.35” MyCodec["PAYMENTREQUEST_1_CURRENCYCODE"] = ”USD"; MyCodec["PAYMENTREQUEST_1_PAYMENTACTION"] = "Sale”; MyCodec["PAYMENTREQUEST_1_SELLERID"] = ”paypal@usairlines.com”; MyCodec["L_PAYMENTREQUEST_1_NAME0"] = ”Plane tickets"; MyCodec["L_PAYMENTREQUEST_1_AMT0"] = ”1348.53"; MyCodec["L_PAYMENTREQUEST_1_QTY0"] = “1”; MyCodec["PAYMENTREQUEST_1_ITEMAMT"] = ”1348.53"; MyCodec["PAYMENTREQUEST_1_AMT"] = ”1348.53”; /*Complete API call*/ } catch {/*deal with exceptions*/} }
  • 15. protected void DoSetEC(object sender, EventArgs e) { try { caller = new NVPCallerServices(); setProfile(MyProfile, “APIUsername”,”APIPassword”,”APISignature”); MyCodec["METHOD"] = "SetExpressCheckout"; MyCodec["VERSION"] = “82“; MyCodec["CANCELURL"] = ”MyCancelURL"; MyCodec["RETURNURL"] = ”MyReturnURL”; MyCodec["PAYMENTREQUEST_0_CURRENCYCODE"] = ”GBP"; MyCodec["PAYMENTREQUEST_0_PAYMENTACTION"] = "Sale"; MyCodec["PAYMENTREQUEST_0_ITEMAMT"] = ”23.35"; MyCodec["PAYMENTREQUEST_0_AMT"] = ”23.35” MyCodec["L_BILLINGTYPE0"] = "MerchantInitiatedBilling”; MyCodec["L_PAYMENTTYPE0"] = "InstantOnly"; MyCodec["L_BILLINGAGREEMENTDESCRIPTION0"] = ”Car Insurance"; MyCodec["L_BILLINGAGREEMENTCUSTOM0"] = "MyTest"; /*Complete API call*/ } catch {/*deal with exceptions*/} } protected void StartReferenceTxn(string transactionID) { caller = new NVPCallerServices(); setProfile(MyProfile); MyCodec["METHOD"] = "DoReferenceTransaction"; MyCodec["REFERENCEID"] = transactionID; MyCodec["PAYMENTACTION"] = "Sale”; MyCodec["AMT"] = ”39.95”; MyCodec["CURRENCYCODE"] = "GBP”; MyCodec["SOFTDESCRIPTOR"] = ”Car Insurance Installment”; /*Complete API call*/ } catch {/*deal with exceptions*/} }
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 23.
  • 24.
  • 25. <script> var dg = new PAYPAL.apps.DGFlow({ trigger: "submitBtn” }); </script> https://www.sandbox.paypal.com/incontext?token=<token> <script> top.dg.closeFlow(); </script>

Editor's Notes

  1. Welcome to PayPal Dev Camp!I will start this session with a BIG stereotype: people usually say that women like stability, exerience, proven solutions, whereas men are more prompt to innovative solutions et texting new things.As we will see today, PayPal is not exception! I will leave the new generation of APIs to Saulius and Corrado and I will spend the next 40 min or so on PayPal express checkout – the main API based payment method for PayPal account holders.
  2. And so,
  3. Caller Details and General API settings
  4. Retrieve Shipping addressBilling addressAccount status
  5. Retrieve Shipping addressBilling addressAccount status
  6. Funds transferred from the buyer to each receiever as distributed in the SetEC/DoEC callUp to 10 receivers
  7. 1 payment request per receiverUp to 10payments requests
  8. Payment requests to be added to both Set EC – to be displayed to the userDo EC for the correct payment completion
  9. Particularly relevant to Telco/pay monthly contracts and InsuranceAdaptable to many other industries: - utilities - loyalty schemes - petrol stations
  10. No Pll payments Up to 10 Billing agreementsMerchant initiated billing if BA is with the receiverChannel Initiated billing for Gateway models -&gt; Subject field in DoRefTxn
  11. Automatic redirection/browser recognitionVersion 63 and aboveIn App Payment through Mobile Express Checkout Libraries for iPhone and AndroidPayment with username/passwordDevice specific PIN
  12. Tesco prototype.A few supermarket chains have launched ‘Self Checkout’ systemsConsumer ‘borrows a scanner’ and scans items as they browse in the shop.Using the Tesco APIs, we have pushed the experience further: everyone has a smartphone today, do we really need additional hardware to scan items?
  13. Pizza ExpressPay your bill at the restaurant with PayPal
  14. Relatively newLimitations around functionality compared to Mobile‘Remember Me’ functionality for quicker and slicker processCharacteristics:- No physical delivery- Instant fulfillment - In context purchases- Global Distribution- Smaller Transaction Values
  15. In Game PurchasesUsually low value items
  16. This leads me to the end this overview- but before I hand onto the next section – a few useful places to get started with PP in general and the Express Checkout features specifically