Test Environment details


In order to quick start with tests and implemention of myPOS Web Checkout you need to have:

1.       Test environment host: https://www.mypos.eu/vmp/checkout-test

2.       SID: 000000000000010

3.       Client/Wallet number: 61938166610

4.       Key Index: 1

5.       POST Parameters Example

6.       Test Scenarios

 

Test environment mimics production environment and you can make all you requests to the system as you will do in production environment. Please make sure to enable Test Mode in your eCommerce platform.

 

Please NOTE that since this is a shared environment you must use unique order ID (e.g. mysite42order042).

 

Important notes on technical integration


  • Requests should be made from public IP address.
  • Version 5.4.8 of PHP or later required. 
  • The URL_Notify should be SSL-enabled address only, i.e. it must start with "https://". Unsecure URLs will be treated as wrong and the transaction will be reversed by the system.
  • Upon HTTP request, the Merchant should respond with header HTTP 200 OK with the following body content: “OK”. Every other response will be treated as communication error, call error, server error or system malfunctions.

 

Easy setup

The configuration pack provides all mandatory settings for the integration. You can use it quickly and easily by taking the provided BASE64 Encoded String below.

eyJzaWQiOiIwMDAwMDAwMDAwMDAwMTAiLCJjbiI6IjYxOTM4MTY2NjEwIiwicGsiOiItLS0tLUJFR0lOIFJTQSBQUklWQVRFIEtFWS0tLS0tXHJcbk1JSUNYQUlCQUFLQmdRQ2YwVGRjVHVwaGI3WCtad2VrdDFYS0VXWkRjelNHZWNmbzZ2UWZxdnJhZjVWUHpjbkpcclxuMk1jNUo3MkhCbTB1OThFSkhhbitubGUyV09aTVZHSXRUYVwvMmsxRlJXd2J0N2lRNWR6RGg1UEVlWkFTZzJVV2VcclxuaG9SOEw4TXBOQnFINmg3WklUd1ZUZlJTNExzQnZsRWZUN1B6aG01WUpLZk0rQ2R6RE0rTDlXVkVHd0lEQVFBQlxyXG5Bb0dBWWZLeHdVdEVicTh1bFZyRDNubldoRitoazFrNktlamRVcTBkTFlOMjl3OFdqYkNNS2I5SWFva21xV2lRXHJcbjVpWkdFcll4aDdHNEJEUDhBV1wvK005SFhNNG9xbTVTRWtheGhiVGxna3MrRTFzOWRUcGRGUXZMNzZUdm9kcVN5XHJcbmwyRTJCZ2hWZ0x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c=
-----END CERTIFICATE-----

NOTE: Just for testing purposes you may also use this key as EncryptPublicKey when testing InApp Purchase integrations.

 

Debit/Credit Card specifics


Please, have in mind that you could test with a real debit or credit card number. Your card will not be charged!

 

However we recommend using our Test Card Numbers, due to certain specifics of some cards that require connection to and additional verification from the card issuer. Although valid such cards may be declined in test environment due to the missing link with the real world.

 

In test environment communication with issuing bank's ACS is not supported. This means that, even if the card you're testing, is enabled for 3D Secure, the test transaction would be processed without a check for 3D Secure. In production environment, however, you should pay attention that 3D Secure cannot be switched off.  

 

POST Parameters Example


IPCmethod=IPCPurchase&
IPCVersion=1.3&
IPCLanguage=EN&
SID=000000000000010&
walletnumber=61938166610&
Amount=23.45& 
Currency=EUR&
OrderID=20120331999999&
URL_OK=http://site.ext/paymentOK&
URL_Cancel=http://site.ext/paymentNOK&
URL_Notify=https://site.ext/paymentNotify&
CardTokenRequest=0&
KeyIndex=1&
PaymentParametersRequired=1&
customeremail=name@website.com&
customerfirstnames=John Santamaria&
customerfamilyname=Smith&
customerphone=+23568956958&
customercountry=DEU&
customercity=Hamburg&
customerzipcode=20095&
customeraddress=Kleine Bahnstr. 41&
Note=&
CartItems=2&
Article_1=HP ProBook 6360b sticker&
Quantity_1=2&
Price_1=10&
Currency_1=EUR&
Amount_1=20&
Article_2=Delivery&
Quantity_2=1&
Price_2=3.45&
Currency_2=EUR&
Amount_2=3.45&
Signature=TuQ6nQJxWJ2T+sM6uzBqYYtOWdw+0ecHaRzujTJChWds/1HWK+kCcfKrAW9sN8xzsRBSZ2zH1uPMMIMgB3XqqHNbq06YhpD3XY/Ltp+ooc8xoq1jdajnUexC5JuDzTslCMKKFmW5vl0HsEkPltyxir0Z5AWpgOZkjqCPEr817/o