WStore Programmer Guide Purchases. Agenda 1.Purchase API integration – Credit card – PayPal 2.Purchase redirection integration 3.Purchase notifications.

Slides:



Advertisements
Similar presentations
Cultural Heritage in REGional NETworks REGNET E-SHOP.
Advertisements

Instructions: Please click your mouse on the screen, everytime you wish the Click Demo to proceed.
Using the Self Service BMC Helpdesk
Recruitment Booster.
Bypassing Client-Side Protection CSE 591 – Security and Vulnerability Analysis Spring 2015 Adam Doupé Arizona State University
Business Analysis & Data Design ITEC-630 Spring 2008
September 2013 NAMI 360 Training Webinar Conference Call #: Code: # Please turn OFF the sound on your computer if you are using.
University Web Services Nika Nestor / Alex Volfson 09/29/2006.
DT211/3 Internet Application Development Active Server Pages & IIS Web server.
HTTP Hypertext Transfer Protocol. HTTP messages HTTP is the language that web clients and web servers use to talk to each other –HTTP is largely “under.
How the web works: HTTP and CGI explained
PayPal E-Business Technologies Prof.Dr. Eduard Heindl BCM SS Edit Molnar.
How to get your free Windows Store Access
V v Business Process AMTV Streaming TV Streaming.
Netaxept Introduction International service which enables you to receive and process payments with variety of payment methods and currencies in.
1 Google Checkout API Jingsong Wang Arpril 2, 2007.
Company LOGO Bid Tracking System Smith & Schaefer, Inc.
OFC 322 Building Office Research Web Services: Exposing Corporate Data Through Office Brian Jones Program Manager Authoring Services Martin Sawicki Lead.
Jim Cunningham, Sr. Engineering Manager Todd Sieber, Integrations Wizard Lab: Adding PayPal to Existing VeriSign Solutions.
BIT 286: Web Applications PayPal Payments, Part 1.
Elliott eOrders.Net Edward M. Kwang, President Rachel R. Locklair, Project Lead.
Patent Application for Method of Integrating Internet SMTP Messaging with Postal Services Figure 1 Hybrid Mail SMTP Handler.
GSA’s Vendor and Customer Self Service (VCSS)
CS453: State in Web Applications (Part 1) State in General Sessions (esp. in PHP) Prof. Tom Horton.
Copyright ©2012 Ping Identity Corporation. All rights reserved.1.
Creating a User ID (1) User makes any HTTP request
Registration Instructions
Chapter 8 Analyzing Systems Using Data Dictionaries Systems Analysis and Design Kendall & Kendall Sixth Edition.
CSC 8560Fall 2000 Computer NetworksBhargavi Balasubramanian & Bob Viola Project 1 Description: E-Commerce Objective:Build a web storefront to sell videos.
Cuallet step by step guide. Step 1 From the Cuallet home page, click the “Sign Up Now” button. New user / Register.
1 Fast, secure checkout across the Web. 2 Opportunities in E-Commerce * 2006 State of Retailing Online, Shop.org/Forrester 2006 Consumer Purchases by.
CP476 Internet Computing CGI1 Cookie –Cookie is a mechanism for a web server recall info of accessing of a client browser –A cookie is an object sent by.
Secure Online Payment Presented by Tom Hun Web Developer.
WStore User Guide Admin. Agenda 1.Introduction 2.Registering Wstore on a Marketplace 3.Registering a Repository on a WStore 4.Registering a RSS on WStore.
WStore Programmer Guide Offering management integration.
Step By Step Guide for Application. 1. Click the “Register” button ① Ⅰ. Registration.
RESTful Web Services What is RESTful?
® Product Summary FAQComparison GuideTalking PointsVideos The Long & Foster Curbside Shopper Program.
WStore User Guide Service Provider. Agenda 1.Introduction 2.Registering a resource 3.Viewing resources 4.Creating an offering 5.Managing an offering.
 How we should structure our checkout and order process?  Checkout and Order Process of our framework  Stages of Checkout and Order Process.
Touchstone ITS OMS Order Management System Programmers Investment Corp 2 OMS Features One-Shot order processing Membership processing.
1 ©2010 SciQuest, Inc. Confidential SciQuest, Inc. Confidential. 1 Approval Enhancements.
ATCC ® GUIDE TO ONLINE ORDERING. 2 Welcome to the new ATCC ® website We’ve integrated several new features to make online ordering easier for you and.
MS Invoice E-Invoice Solution Overview March 2016.
7 Customize your home page Navigation list used for approvals 8.
© 2014 IBM Corporation Mobile Customization & Administration IBM Connections 5.0 Workshop Author: Paul Godby IBM Ecosystem Development Duration: 30 minutes.
PrestaShop Shopping Cart Extensions eGrove Systems.
Step 1 Lead Notifications Dear Partner, New leads have been assigned to your organization based on customer preference and are available for you.
WStore User Guide Customer. Agenda 1.Introduction 2.Searching for offerings 3.Purchasing an offering 4.Downloading resources and invoices 5.Commenting.
WStore Programmer Guide Resources management integration.
Industry’s Best CMS Package For Magento Ecommerce.
Reply to Registration Invitation ( )
FI-WARE RSS fundamentals Telefónica I+D
Paytm App is your one-stop destination for all your needs
PAYMENT GATEWAY Presented by SHUJA ASHRAF SHAH ENROLL: 4471
WStore Programmer Guide
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Sales & Marketing Funnels
Checkout and Electronic Payment Processing
WStore Programmer Guide
Dominik Pinter, CMS.IO, Authentication Dominik Pinter,
WStore integration with other GEris
Connor Griesemer & Kevin Wu
To Logon: URL: Input: Login ID (user address)
Mastercard Location Alerts™
Send Invoices From QuickBooks To Gmail – An A To Z Guide After QuickBooks Online teamed up with Google, it has been as simple as possible for you to invoice.
WEB API.
PayPal (Payment Gateway) in HotSpot Express Software
Hyper Text Transfer Protocol
Kevin Harville Source: Webmaster in a Nutshell, O'Rielly Books
Presentation transcript:

WStore Programmer Guide Purchases

Agenda 1.Purchase API integration – Credit card – PayPal 2.Purchase redirection integration 3.Purchase notifications

PURCHASES WStore Programmer Guide

Purchase API integration WStore supports to integrate purchases with different external applications using the purchases API directly. Using this method to integrate purchases requires the developer to take into account the payment method since it is possible that it needs to redirect users to the PayPal confirmation page. The requests to perform a purchase directly using the purchases API are different depending on the payment method selected.

Purchase API integration Credit card The following request shows how to perform a purchase using a credit card. If no tax address or credit card provided, then default values stored in user’s profile are used. Moreover, the field offering used to identify the offering to be purchased could contain different values, apart for the method used in the request (organization, name, version), it is also possible to provide the URL of the USDL in the Repository GEi (description_url field in offering requests), this method is useful to purchase offerings that have been searched in a Marketplace GEi. The plan label field is used to identify the price plan when there are more than one, if only a plan exists this field is not mandatory.

Purchase API integration POST /api/contracting HTTP 1.1 Content-Type: application/json { “offering”: { “organization”: "CoNWeT" “name”: "SmartCityLights" “version”: "1.0" }, "plan_label": "update", “tax_address”: { “street”: "C/Los alamos n 17", “city”: "Santander", “postal”: "39011", “country”: "Spain" } “payment_info”: { “payment_method”: “credit card”, “credit_card”: { “number”: " ", “type”: "MasterCard", “expire_year”: "2018", “expire_month”: "5", “cvv2”: "111" } WStore responds with a 201 Created code is the request is successful.

Purchase API integration PayPal The following request shows how to perform a purchase using a PayPal account. Note that if no tax address provided the default value is used: POST /api/contracting HTTP 1.1 Content-Type: application/json Accept: application/json { “offering”: { “organization”: "CoNWeT" “name”: "SmartCityLights" “version”: "1.0" }, "plan_label": "update", “tax_address”: { “street”: "C/Los alamos n 17", “city”: "Santander", “postal”: "39011", “country”: "Spain" } “payment_info”: { “payment_method”: “paypal” }

Purchase API integration If the request is success WStore will respond with a redirection URL. This URL is created by PayPal and the user browser should be redirected to that window, since, PayPal requires user authentication and confirmation to perform the payment. Response: HTTP/ OK Content-Type: application/json Vary: Cookie { "redirection_link": " }

Purchase redirection integration WStore also supports to integrate external applications with the purchase process using WStore web interface to perform the payment. To integrate an application using this method, the client application requests for a purchase formulary for a concrete offering and WStore responds with a redirection URL where the client application should redirect the user browser in order to start the purchasing process: POST /api/contracting/form HTTP 1.1 Content-Type: application/json Accept: application/json { "offering": { "organization": "CoNWeT", "name": "SmartCityLights", "version": 1.0, }, "redirect_uri": " }

Purchase redirection integration Note that the offering field, used to identify the offering, could also contain the URL pointing to the USDL description in the Repository GEi (description_url field in offering request) in order to allow to integrate WStore with a solution that uses a Marketplace GEi for searching offerings. Response: HTTP/ OK Content-Type: application/json Vary: Cookie { "url": " } The URL returned should be used to redirect the user browser. This URL points to a formulary that allows the user to pay using the WStore GUI. When the user ends the purchase, the window is closed and WStore sends a notification to the client application using the redirect URI provided in the call.

Purchase notifications When a service provider publish an offering in WStore, s/he should provide an URL where s/he can receive a notification when her offering is purchased in order to know the customer and the purchase reference. The provided URL should support a POST request with the following structure: POST notification_url HTTP 1.1 Content-Type: application/json { "offering": { "organization": "CoNWeT", "name": "SmartCityLights", "version": "1.0" } "reference": "51c2d2825d9af944d0d1cfe0", "customer": "santander_crm" }

Thanks!