Merchant API for PHP libcurl Implementation Guide to the PHP libcurl Examples for Apache Web Server Version 1.0.5



Similar documents
How to Configure Active Directory based User Authentication

Installing buzztouch Self Hosted

InfoRouter LDAP Authentication Web Service documentation for inforouter Versions 7.5.x & 8.x

PHP+MYSQL, EASYPHP INSTALLATION GUIDE

Wavecrest Certificate

WebScheduler TotalFBO TotalFBO Initial Installation TotalFBO Connecting to a Database TotalFBO

OrangeHRM Web Installation Guide for Windows

PaperCut Payment Gateway Module - PayPal Payflow Link - Quick Start Guide

MOODLE Installation on Windows Platform

PaperCut Payment Gateway Module - PayPal Payflow Link - Quick Start Guide

Site Store Pro. INSTALLATION GUIDE WPCartPro Wordpress Plugin Version

tpischeduler tpischeduler TotalFBO tpischeduler TotalFBO Initial Installation tpischeduler TotalFBO tpischeduler

PaperCut Payment Gateway Module CyberSource Quick Start Guide

vtiger Customer Portal 5.0 User Manual

MAGENTO - SETUP PAYMENT PLANS

Installation and Deployment

Livezilla How to Install on Shared Hosting By: Jon Manning

SSL Installing your new Certificate

PaperCut Payment Gateway Module Realex Realauth Redirect Quick Start Guide

wce Outlook Contact Manager Documentation

Transferring Your Hosting Account

Expresso Quick Install

Content Management System

Millennium Drive. Installation Guide

Apache JMeter HTTP(S) Test Script Recorder

vtiger Customer Portal 4.2 User Manual

MassTransit 6.0 Enterprise Web Configuration for Macintosh OS 10.5 Server

Configuring Hadoop Distributed File Service as an Optimized File Archive Store

Cofred Automated Payments Interface (API) Guide

Setting Up Scan to SMB on TaskALFA series MFP s.

Cisco SSL Encryption Utility

Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

TIMETABLE ADMINISTRATOR S MANUAL

Introduction. What is Unbound and what is DNSSEC. Installation. Manual for Unbound on Windows. W.C.A. Wijngaards, NLnet Labs, October 2010

GlobalSign Solutions

inforouter V8.0 Server Migration Guide.

Swedbank Payment Portal Implementation Overview

Using Internet or Windows Explorer to Upload Your Site

PaperCut Payment Gateway Module - RBS WorldPay Quick Start Guide

How to install phpbb forum on NTU student club web server

SSO Plugin. J System Solutions. Upgrading SSO Plugin 3x to 4x - BMC AR System & Mid Tier.

StreamServe Job Gateway

Configuring an Oracle Business Intelligence Enterprise Edition Resource in Metadata Manager

Configuring Global Protect SSL VPN with a user-defined port

Setting Up the Mercent Marketplace Price Optimizer Extension

Kollaborate Server Installation Guide!! 1. Kollaborate Server! Installation Guide!

TouchNet upay Quick Start Guide

Local Caching Servers (LCS): User Manual

FireBLAST Marketing Solution v2

SSL Interception on Proxy SG

INSTALLATION GUIDE MC

MadCap Software. Upgrading Guide. Pulse

Google Trusted Stores Setup in Magento

MySQL quick start guide

Document From MAXIMUM BUSINESS INFORMATION TECHNOLOGY ON A. OwnCloud User Manual. TO I Cafe`

Immotec Systems, Inc. SQL Server 2005 Installation Document

ekomimeetsmage Manual for version 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0

CEFNS Web Hosting a Guide for CS212

Magento OpenERP Integration Documentation

Configuring Microsoft Internet Information Service (IIS6 & IIS7)

EZcast Installation guide

OneLogin Integration User Guide

AIMS Installation and Licensing Guide

How to: Install an SSL certificate

TAO Installation Guide v0.1. September 2012

How to setup HTTP & HTTPS Load balancer for Mediator

Enterprise Content Management System Monitor. How to deploy the JMX monitor application in WebSphere ND clustered environments. Revision 1.

Backup & Restore Instructions

shweclassifieds v 3.3 Php Classifieds Script (Joomla Extension) User Manual (Revision 2.0)

Protect your CollabNet TeamForge site

CROWNPEAK C# API SYSTEM CONFIGURATION GUIDE VERSION 3.0.1

Subversion Server for Windows

E-Commerce: Designing And Creating An Online Store

Domain Central Reseller Billing 4.2

HOW TO SETUP AN APACHE WEB SERVER AND INTEGRATE COLDFUSION

MS 10972A Administering the Web Server (IIS) Role of Windows Server

Create e-commerce website Opencart. Prepared by : Reth Chantharoth Facebook : rtharoth@yahoo.

Redtail CRM Integration. Users Guide Cities Digital, Inc. All rights reserved. Contents i

Startup guide for Zimonitor

Drupal CMS for marketing sites

AD Self Update 2.2. Installation and configuration. Dovestones Software

10972-Administering the Web Server (IIS) Role of Windows Server

ClickCartPro Software Installation README

Configuration Guide. Remote Backups How-To Guide. Overview

Contents. TSM Remote Server Installation guide

Tonido Cloud Admin Guide

Installation and Setup Guide

Automated backup. of the LumaSoft Gas database

OpenEyes - Windows Server Setup. OpenEyes - Windows Server Setup

How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

INSTALLING, CONFIGURING, AND DEVELOPING WITH XAMPP

OpenCart. SugarCRM CE (Community Edition Only) Integration. Guide

LearningServer Portal Manager

Alert Notification of Critical Results (ANCR) Public Domain Deployment Instructions

Using BroadWorks Remote Office on Yealink IP Phone with BroadSoft UC One. September Document Version: V1.0

How To Set Up A Backupassist For An Raspberry Netbook With A Data Host On A Nsync Server On A Usb 2 (Qnap) On A Netbook (Qnet) On An Usb 2 On A Cdnap (

Cloud Services. Introduction...2 Overview...2. Security considerations Installation...3 Server Configuration...4

Transcription:

Merchant API for PHP libcurl Implementation Guide to the PHP libcurl Examples for Apache Web Server Version 1.0.5 Jürgen Filseker API_Client_libcurl.doc 30.05.2007 1 von 6

Index 1 INTRODUCTION...3 2 REQUIREMENTS FOR USING THE EXAMPLES...3 3 MANUALLY INSTALLING THE SAMPLES...3 4 CONFIGURING THE SAMPLES...4 4.1 FILE COPYING...4 4.2 CERTIFICATE SETTINGS...4 4.3 MERCHANT PARAMETER SETTINGS...4 4.4 URL SETTINGS...5 4.5 CHANGING THE PATH TO THE MERCHANT_DIRECT.PROPERTIES...5 5 USING THE SAMPLES...6 6 EXECUTING THE SAMPLES...6 Jürgen Filseker API_Client_libcurl.doc 30.05.2007 2 von 6

1 Introduction This is a line how to install the paysafecard PHP libcurl samples. It might vary depending on your Apache web server configuration. 2 Requirements for using the examples Apache webserver libcurl 7.8 (OpenSSL 0.9.6g) (ipv4 enabled) Internet Connection (the Merchant Api has to be able to communicate with the paysafecard server via HTTPS (port 443)) 3 Manually installing the samples Please copy the contents of the folder examples to a directory inside of the webroot directory of your apache web server, e.g. a folder paysafecard. Then copy the files from the folder etc into a protected directory outside of public access (e.g. c:\psc ) Jürgen Filseker API_Client_libcurl.doc 30.05.2007 3 von 6

4 Configuring the samples 4.1 File copying The configuration file and your certificates have to be stored in a directory that is not publicly accessible! This is very important as the configuration file contains the keyring password for the private certificate. If you have no possibility to store the certificates outside of your webdirectory, please protect the directory containing your certificates and configuration files using htaccess or the like. Therefore please use a folder outside of public access (in our example this folder is called c:/psc/ ) and copy the merchant_direct.properties and the paysafecard- CA.pem to this folder. You can find these files in your paysafecard Merchant API directory in the etc folder. Next copy the key (it is named CMS_<YOUR MID>_001_<name>.pem for Test System or CPS_<YOUR MID>_001_<name>.pem for connections to the Productive System which you have received from paysafecard into the same folder. 4.2 Certificate settings Next locate the following section in your merchant_direct.properties file, and change the settings for keyringfile and the cakeyringfile to their absolute path, for example if your folder outside of public access is c:/psc this path should look like: c:/psc/yourcertificatename.pem The data for keyringpw can be found in the file testdata.txt. Your merchant_direct.properties (stored outside of public access) keyringfile=c:/psc/xxx_<your MERCHANT ID>_YYY_ZZZZZZZ.pem keyringpw=<your PASSWORD> cakeyringfile=c:/psc/paysafecard-ca.pem Jürgen Filseker API_Client_libcurl.doc 30.05.2007 4 von 6

4.3 Merchant parameter settings Go to your secure directory where you store the certificates and modify the file merchant_direct.properties with a text editor (for example notepad). Change the following settings to match the ones you got from paysafecard: Your merchant_direct.properties file (stored outside of public access): mid=<your MERCHANT ID>; currency=eur; businesstype=i; reportingcriteria=<reportingcriteria, only as agreed with paysafecard>; 4.4 URL settings As the next step you have to locate the following settings in your psc_config.php and change them so that they point to the public location of your examples. For example if your website is www.example.com and the directory within your webroot is called paysafecard, these URLs should look like: Your psc_config.php file (stored in your examples directory within webroot): $okurl = http://www.example.com/paysafecard/psc_ok.php; $nokurl = http://www.example.com/paysafecard/psc_nok.html; 4.5 Changing the path to the merchant_direct.properties Please verify the path to the merchant_direct.properties in your psc_config.php: Your psc_config.php file (stored in your examples directory within webroot) $config = "c:/psc/merchant_direct.properties"; Jürgen Filseker API_Client_libcurl.doc 30.05.2007 5 von 6

5 Using the samples Each sample consists of 3 pages: psc_start.php Creates the disposition and forwards the customer to the payment panel on the paysafecard server. psc_ok.php The customer will be forwarded to this page from the paysafecard server after correctly having entered the PIN-Code. This page will check the current state of the disposition and execute the debit. psc_nok.html The customer will be forwarded to this page from the paysafecard server if the customer actively cancelled the inpayment by pressing cancel on the payment panel. 6 Executing the samples To execute the samples you have to open a browser and enter the URL of your sample implementation. For example if your website is www.example.com these URLs should look like: http://www.example.com/paysafecard/psc_start.php Jürgen Filseker API_Client_libcurl.doc 30.05.2007 6 von 6