Merchant payment page

Request parameters

Predefined Data:

  • order_id - Order ID which is generated by merchant.
  • order_desc - Order description. Generated by merchant in UTF-8.
  • amount - Order amount in cents without separator
  • currency - Order currency. Supported values (UAH, RUB, USD, EUR, GBP)
  • response_url - Merchant site URL, where customer will be redirected after payment completion.

Form Data:

  • card_number - Visa/MC card number mandatory
  • expiry_date - Card expiry date in format MMYY
  • cvv2 - Card CVV2/CVC2 code

Request Example

<?php
require_once('path/to/init.php');
$data = $ipsp->call('pcidss',array(
  'order_id'    => 'orderid-222333444',
  'order_desc'  => 'PCIDSS Secure checkout page',
  'currency'    => $ipsp::USD ,
  'amount'      => 2000, 
  'response_url'=> sprintf('http://shop.example.com/checkout/result'),
  'card_number' => 4444555566661111, 
  'expiry_date' => '1240', 
  'cvv2'        => 111
));
$result = $data->getResponse();