Skip to main content

Retrieve SKU details

Overview

Use the getSkuDetails method to retrieve SKU details based on its ID.

Parameters

Parameters Type/Description
sessionID Required (string)
  Session identifier, the output of the Login method. Include sessionID into all your requests. 2Checkout throws an exception if the values are incorrect. The sessionID expires in 10 minutes.
skuCode Required (string)
  Unique identifier of the SKU.

Request Example

<?php
require ('PATH_TO_AUTH');

$sku = 'YOUR_SKU_CODE';

try {
    $getSkuDetails = $client->getSkuDetails($sessionID, $sku);
} catch (SoapFault $e) {
    echo  $e->getMessage();
}
var_dump($getSkuDetails);

Response Example


{
"PricingConfigurationCode":"{PricingConfigurationCode}",
"ProductCode":"{ProductCode}",
"Currency":"{Currency}",
"PriceOptions":[{PriceOption1},{PriceOption2}],
"PurchaseType":"{PurchaseType}",
"FromQuantity":"{FromQuantity}",
"ToQuantity":"{ToQuantity}"
}

 

Total refund

Overview

Use the issueRefund method to issue a total refund for an order processed by 2Checkout.

Requirements 

The payment for the refundable order needs to be collected.

You cannot issue a refund for an amount higher than the total order amount.

Request

<?php

$host = 'https://api.avangate.com';
$merchantCode = "MERCHANT_CODE"; // your account's merchant code available in the 'System settings' area of the cPanel: https://secure.2checkout.com/cpanel/account_settings.php
$key = "SECRET_KEY"; // your account's secret key available in the 'System settings' area of the cPanel: https://secure.2checkout.com/cpanel/account_settings.php

$now = gmdate('Y-m-d H:i:s'); //GMT date format)
$algo = "sha256";
$string = strlen($merchantCode) . $merchantCode . strlen($now) . $now;
$hash = hash_hmac($algo, $string, $key);

try {
    $client = new SoapClient($host . "/soap/6.0/?wsdl", [
        'location'       => $host . "/soap/6.0/",
        "stream_context" => stream_context_create([
            'ssl' => [
                'verify_peer'      => false,
                'verify_peer_name' => false
            ]
        ])
    ]);
    $sessionID = $client->login($merchantCode, $now, $hash, $algo);
    echo("Token: {$sessionID}" . PHP_EOL);

    $orderReference = "73152871";
    $items = [];
    $amount = '241.49';
    $comment = "This is a comment";
    $reason = "Fraud";

    $refundedOrder = $client->issueRefund($sessionID, $orderReference, $amount, $items, $comment, $reason);
    var_dump($refundOrder);
} catch (SoapFault $e) {
    echo "Authentication: " . $e->getMessage() . PHP_EOL;
    exit;
} 

Response

Response Type/Description
Boolean

TRUE is the refund was processed successfully

FALSE otherwise

 

Shipping fees

Overview

Use this object via SOAP API 3.0 to retrieve information about shipping fees. 

Parameters

Parameter Type/Description

ShippingFee

Array of objects

Name

String

 

The name of the shipping fee configuration. 

Code String
  Unique, system-generated shipping fee identifier. 

Amount

String

 

The shipping costs

Currency

String

 

The currency ISO code used for shipping costs - ISO 4217.

ApplyTo

String

 

Possible values:

• PRODUCT

• ORDER

Type

String

 

 

Possible values:

• FIXED

• PERCENT

 

 

Generate SKU schema

Overview

Use the getSchema method to create a new SKU schema and define the combination criteria. The SKU number is a unique combination of Product ID (Product Code) plus all or minimum one of the following:

  • Currencies
  • Volume Discounts
  • Purchase Types
  • Pricing Options

Request Parameters

Parameters Required Type/Description
productCode Required String.  Product code as available in the Merchant Control Panel.
currencies Required String.
purchaseTypes Required String. The type of purchase applicable to the product: NEW_PRODUCT, RENEWAL, TRIAL, UPGRADE.
pricingConfigurationCodes Required  
                               code Required  
                               volumeDiscounts Required  
                               optionGroups Required  

Request Example 

<?php

require ('PATH_TO_AUTH');

$inputSchema = new \stdClass();
$inputSchema->Products = [];
$inputSchema->Products[0] = new \stdClass();
$inputSchema->Products[0]->Code = '6B3CB17DDA_COPY1';
$inputSchema->Products[0]->Currencies = ['USD', 'EUR', 'GBP', 'BGN'];
$inputSchema->Products[0]->PurchaseTypes = ['NEW_PRODUCT', 'RENEWAL'];
$inputSchema->Products[0]->PricingConfigurationCodes = [];
$inputSchema->Products[0]->PricingConfigurationCodes[0] = new \stdClass();
$inputSchema->Products[0]->PricingConfigurationCodes[0]->Code = 'E684EC99B0';
$inputSchema->Products[0]->PricingConfigurationCodes[0]->VolumeDiscounts = [[1, 3], [4, 7]];
$inputSchema->Products[0]->PricingConfigurationCodes[0]->OptionGroups = [];
$inputSchema->Products[0]->PricingConfigurationCodes[0]->OptionGroups[0] = new \stdClass();
$inputSchema->Products[0]->PricingConfigurationCodes[0]->OptionGroups[0]->Code = 'GRUP_1';

try {
    $generatedSchema = $client->getSchema($sessionID, $inputSchema);
} catch (SoapFault $e) {
    echo "getSchema: " . $e->getMessage();
    exit;
}

var_dump("getSchema", $generatedSchema);

Response Parameters

Parameters Type/Description
productCode Product code as available in the Merchant Control Panel.
pricingConfigurationCode  
productSku Empty when the list is generated by the platform and with unique values (per vendor) for each line of the file.
currency If currency is not selected to be included in the list (empty or null value) the the API defaults to "ANY". If currency is selected as an element of the SKU list creation, then it will be included - minimum one currency.
fromQty

The minimum value of the intervals set at product level for the specific Pricing configuration (volume discounts). In case volume discounts are not defined, the default value will be '1'.

toQty

The maximum value of the intervals set at product level for the specific Pricing configuration (volume discounts). In case volume discounts are not defined, the default value will be '99999'.

 

The intervals will be defined in the SKU list (at creation and upload) considering the product settings. In case intervals that are not defined in the Control Panel are included in the request, the request will return an error. 

'Expand quantities' should consider distinct SKUs for each qty of the interval. (optional)

purchaseType Purchase types will have one or multiple of the following values: 'NEW_PRODUCT', 'RENEWAL', TRIAL', 'UPGRADE' - limited to what is defined at product level.
pricingOptionGroups

Can be multiple and each of them will have the GroupCode and for each pricing options group:

pricingOptions

Can be multiple and will contain 'Name' and 'Value' as output, the only valid input is the option group code.

Response Example

array(1) {
  [0] =>
  class stdClass#7 (2) {
    public $ProductCode =>
    string(16) "6B3CB17DDA_COPY1"
    public $SkuPricingOptions =>
    array(1) {
      [0] =>
      class stdClass#8 (3) {
        public $Code =>
        string(10) "E684EC99B0"
        public $Details =>
        array(64) {
          [0] =>
          class stdClass#9 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#10 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#11 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [1] =>
          class stdClass#12 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#13 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#14 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [2] =>
          class stdClass#15 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#16 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#17 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [3] =>
          class stdClass#18 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#19 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#20 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [4] =>
          class stdClass#21 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#22 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#23 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [5] =>
          class stdClass#24 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#25 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#26 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [6] =>
          class stdClass#27 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#28 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#29 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [7] =>
          class stdClass#30 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#31 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#32 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [8] =>
          class stdClass#33 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#34 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#35 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [9] =>
          class stdClass#36 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#37 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#38 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [10] =>
          class stdClass#39 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#40 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#41 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [11] =>
          class stdClass#42 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#43 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#44 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [12] =>
          class stdClass#45 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#46 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#47 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [13] =>
          class stdClass#48 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#49 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#50 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [14] =>
          class stdClass#51 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#52 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#53 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [15] =>
          class stdClass#54 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "USD"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#55 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#56 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [16] =>
          class stdClass#57 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#58 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#59 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [17] =>
          class stdClass#60 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#61 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#62 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [18] =>
          class stdClass#63 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#64 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#65 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [19] =>
          class stdClass#66 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#67 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#68 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [20] =>
          class stdClass#69 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#70 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#71 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [21] =>
          class stdClass#72 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#73 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#74 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [22] =>
          class stdClass#75 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#76 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#77 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [23] =>
          class stdClass#78 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#79 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#80 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [24] =>
          class stdClass#81 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#82 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#83 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [25] =>
          class stdClass#84 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#85 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#86 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [26] =>
          class stdClass#87 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#88 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#89 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [27] =>
          class stdClass#90 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#91 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#92 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [28] =>
          class stdClass#93 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#94 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#95 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [29] =>
          class stdClass#96 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#97 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#98 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [30] =>
          class stdClass#99 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#100 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#101 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [31] =>
          class stdClass#102 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "EUR"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#103 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#104 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [32] =>
          class stdClass#105 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#106 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#107 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [33] =>
          class stdClass#108 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#109 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#110 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [34] =>
          class stdClass#111 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#112 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#113 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [35] =>
          class stdClass#114 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#115 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#116 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [36] =>
          class stdClass#117 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#118 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#119 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [37] =>
          class stdClass#120 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#121 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#122 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [38] =>
          class stdClass#123 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#124 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#125 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [39] =>
          class stdClass#126 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#127 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#128 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [40] =>
          class stdClass#129 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#130 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#131 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [41] =>
          class stdClass#132 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#133 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#134 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [42] =>
          class stdClass#135 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#136 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#137 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [43] =>
          class stdClass#138 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#139 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#140 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [44] =>
          class stdClass#141 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#142 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#143 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [45] =>
          class stdClass#144 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#145 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#146 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [46] =>
          class stdClass#147 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#148 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#149 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [47] =>
          class stdClass#150 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "GBP"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#151 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#152 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [48] =>
          class stdClass#153 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#154 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#155 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [49] =>
          class stdClass#156 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#157 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#158 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [50] =>
          class stdClass#159 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#160 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#161 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [51] =>
          class stdClass#162 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#163 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#164 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [52] =>
          class stdClass#165 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#166 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#167 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [53] =>
          class stdClass#168 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#169 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#170 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [54] =>
          class stdClass#171 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#172 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#173 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [55] =>
          class stdClass#174 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(1)
            public $ToQty =>
            int(3)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#175 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#176 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [56] =>
          class stdClass#177 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#178 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#179 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [57] =>
          class stdClass#180 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#181 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#182 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [58] =>
          class stdClass#183 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#184 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#185 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [59] =>
          class stdClass#186 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(11) "NEW_PRODUCT"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#187 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#188 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
          [60] =>
          class stdClass#189 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#190 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#191 (2) {
                    public $Name =>
                    string(13) "option name 1"
                    public $Value =>
                    string(13) "option_code_1"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrlXauuZOojh8cww=="
          }
          [61] =>
          class stdClass#192 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#193 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#194 (2) {
                    public $Name =>
                    string(13) "option name 2"
                    public $Value =>
                    string(13) "option_code_2"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrmXauuZOojjccxw=="
          }
          [62] =>
          class stdClass#195 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#196 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#197 (2) {
                    public $Name =>
                    string(13) "option name 3"
                    public $Value =>
                    string(13) "option_code_3"
                  }
                }
              }
            }
            public $Options =>
            string(76) "eJwBLADT/6G10uOW07exk6mNk7KvrpaSc4l1lbXToqi5sriTcbOXseWu3ZGrnXauuZOojk8cyw=="
          }
          [63] =>
          class stdClass#198 (7) {
            public $ProductSKU =>
            string(0) ""
            public $Currency =>
            string(3) "BGN"
            public $FromQty =>
            int(4)
            public $ToQty =>
            int(7)
            public $PurchaseType =>
            string(7) "RENEWAL"
            public $Groups =>
            array(1) {
              [0] =>
              class stdClass#199 (2) {
                public $GroupCode =>
                string(6) "GRUP_1"
                public $Options =>
                array(1) {
                  [0] =>
                  class stdClass#200 (2) {
                    public $Name =>
                    string(4) "NONE"
                    public $Value =>
                    string(4) "NONE"
                  }
                }
              }
            }
            public $Options =>
            string(0) ""
          }
        }
        public $Errors =>
        array(0) {
        }
      }
    }
  }
}

Retrieve product group

Overview

Use the getProductGroup method to extract information about a specific product group you created for your account.

Parameters

Parameters Type/Description

sessionID

Required (string)

 

Session identifier, the output of the Login method. Include sessionID into all your requests. 2Checkout throws an exception if the values are incorrect. The sessionID expires in 10 minutes.

groupCode Required (string)
  Unique, system-generated identifier assigned to product groups. 

Response

Parameters Type/Description

ProductGroup

Array of objects

Request

<?php

require ('PATH_TO_AUTH');

$groupCode = 'YOUR_GROUP_CODE';

$jsonRpcRequest = array (
'jsonrpc' => '2.0',
'id' => $i++,
'method' => 'getProductGroup',
'params' => array($sessionID, $groupCode)
);

var_dump (callRPC((Object)$jsonRpcRequest, $host));

Add a dynamic product to the InLine Cart

Overview

Use the Product object to add a dynamic product to the InLine Cart by calling the click event handler.

Use case

  1. Add an HTML link or button in your page like the one below.
  2. Create a JavaScript click handler to execute the Inline Client desired methods.
  3. Use theTwoCoInlineCart.setup.setMode('DYNAMIC')method in order to let the cart know you are using dynamic instead of catalog products.
  4. In order to set currency useTwoCoInlineCart.cart.setCurrency(currency-code).
  5. Add your product to the cart by calling theTwoCoInlineCart.products.add({name, quantity, price, options}) method.
  6. You can see below a signature token request payload for this example. A success response contains a JSON with the property “signature“ which needs to be used at the next step to set the signature using the TwoCoInlineCart method.
{
    "merchant": "2COLRNC",
    "dynamic": "1",
    "currency": "USD",
    "products": [
        {
            "name"    : "A test dynamic product",
            "quantity": 1,
            "price"   : 20
        }
    ]
}

The above payload will generate the signature 718e810fee34be2bf4b9d4582323aa37580c4011ef694116cca5b0bb7badd2f1.

7. Use the TwoCoInlineCart.cart.setSignature('718e810fee34be2bf4b9d4582323aa37580c4011ef694116cca5b0bb7badd2f1') method to set the signature. It is important that you employ TwoCoInlineCart.cart.removeAll() just before the TwoCoInlineCart.products.addMany(products) or TwoCoInlineCart.products.add(product) methods to remove previous products as the signature is based on the products' definition.

8. Use theTwoCoInlineCart.cart.checkout()method to show the cart on your page.

Sample request

HTML

<a href="#" class="btn btn-success" id="buy-button">Buy now!</a>

JAVASCRIPT

window.document.getElementById('buy-button').addEventListener('click', function() {
  TwoCoInlineCart.setup.setMode('DYNAMIC');
  TwoCoInlineCart.cart.setCurrency('USD');
 
  TwoCoInlineCart.products.add({
    name: 'A test dynamic product',
    quantity: 1,
    price: 20,
  });
  TwoCoInlineCart.cart.setSignature('718e810fee34be2bf4b9d4582323aa37580c4011ef694116cca5b0bb7badd2f1');
  TwoCoInlineCart.cart.checkout();
});

Demo 

After adding the dynamic product to the InLine checkout using the above method, your cart should look like this:

PricingList Object Structure

Parameters

Parameter Type/Description
PricingListCode String
  The unique identifier of the pricing list.
Name String
  The name of the pricing list.
ProductInfo Complex object
  Complex object containing arrays of SimpleProduct and PriceOptions objects.

 

Pricing options

Overview

Use this object to add/create and edit/update price options for your account.

Parameters

Parameters Type/Description

PriceOptionsGroup

Object

Name

String

 

Price option group name. Use this parameter when adding a new price options group. To edit the name of a price option group use the Name parameter under the Translations object.

Description

String

 

Pricing option group description.

Translations

Array of objects

 

Details below.

 

Name

String

 

 

Product pricing options group name, localized under Options.

 

Description

String

 

 

Product pricing options group description, localized under Options.

 

Language

String

 

 

ISO language code. (ISO 639-1 two-letter code).

Code

String

 

Unique code that The 2Checkout system generates or set for each pricing options group.

Type

String

 

The type of pricing options group. Possible values:

· RADIO

· CHECKBOX

· INTERVAL

· COMBO

Options

Array of objects

 

Details below.

 

Name

String

 

 

Pricing option child name.

 

Description

String

 

 

Pricing option child description.

 

Translations

Array of objects

 

 

Details above.

 

 

Name

String

 

 

 

Localized product pricing options group name under PriceOptionGroup.

Localized pricing option child name under Options.

 

 

Description

String

 

 

 

Localized product pricing options group description under PriceOptionGroup.

Localized pricing option child description under Options.

 

 

Language

String

 

 

 

ISO language code. (ISO 639-1 two-letter code).

 

Value

String

 

 

The code you set or that the 2Checkout system generated for each pricing option child inside a pricing options group parent.

 

ScaleMin

Int

 

 

The minimum value of a scale interval set for each pricing option child inside a pricing options group parent of the type INTERVAL.

 

ScaleMax

Int

 

 

The maximum value of a scale interval set for each pricing option child inside a pricing options group parent of the type INTERVAL.

 

SubscriptionImpact

Object

 

 

Details below.

 

Months

String

 

 

The value in months the 2Checkout system adds or subtracts from the initial billing cycle of a subscription.

 

Impact

String

 

 

Possible values:

· ADD

· SUBTRACT

· LIFETIME

 

PriceImpact

Object

 

 

Details below.

 

 

ImpactOn

String

 

 

 

Possible values:

  • BASE corresponding to impact on base price
  • GLOBAL for impact on the calculated sum.

 

 

Impact

String

 

 

 

Impact on price per unit:

  • ADD
  • SUBTRACT

 

 

Percent

String

 

 

 

The value of the percentage out of the price per product unit, when you use PERCENT for Method.

 

 

Method

String

 

 

 

Possible values:

· PERCENT

· FIXED

 

 

Amounts

Array of objects.

 

 

 

Details below.

 

 

 

Currency

String

 

 

 

 

Currency ISO code - ISO 4217.

 

 

 

Amount

String

 

 

 

 

The amount defined for each specific currency active for your account, when you use FIXED for Method.

 

Default

Boolean

 

 

TRUE for preselected options.

Missing for options that are not preselected.

Required

boolean

 

True if you made the pricing option group mandatory.

 

Electronic delivery and payment receipt

Overview

2Checkout automatically sends out the electronic delivery and payment receipt email to both providers and shoppers with confirmation and details on their payment and to fulfill orders - delivering binary keys, activation codes, Download Software Insurance details or product files to your shoppers.

As of July 13th, 2016, you can use a redesigned template complete with fresh content. The new template has replaced the previous electronic delivery and payment receipt email, but any customization you have in place, either in terms of styling or content, continues to be available.

Availability

All 2Checkout accounts.

What is the purpose of this email?

For the default email communications setup, 2Checkout blends the payment receipt and electronic delivery emails into a single notification. 2Checkout sends the electronic delivery and payment receipt email if your account uses the default shopper communications setup, for those products where you set fulfillment to be performed through 2Checkout delivery.

Email content

Depending on what actions need to be performed by your clients to receive access to your products, the email includes one or several of the following:

  1. Product/Subscription plan information.
  2. Activation keys/codes accompanied by short descriptions.
  3. Downloadable product files, and download insurance service.
  4. A payment receipt with information on the payment method, ordered products, quantities, unit prices, taxes, and total amount.
  5. Billing/Delivery Information.
  6. Cross-sell products (provided you have an active cross-sell campaign set to also be displayed in the payment receipt email).
  7. Technical and payment support contact details.

Sample

Electronic Delivery and Payment Receipt

Is this the only email my shoppers receive after placing an order?

2Checkout can send the electronic delivery email either standalone or combined with the payment receipt notification (in one single email).

Depending on your account's setup, for each order containing at least one product configured with 2Checkout delivery your shoppers can receive:

  • Default: One email containing both the payment receipt and the electronic delivery messages
  • Two email notifications: The payment receipt and the electronic delivery messages, separately
  • Three email notifications: An order confirmation email, plus the payment receipt and the electronic delivery messages, separately

Contact 2Checkout to change your default configuration if you find another setup better suited for your customers.

Preview and test email

Navigate to the Email template manager section to:

  • Preview and test current templates for emails sent to your shoppers
  • Customize the header and the footer sections by creating custom templates you can assign to your emails

Access the electronic delivery and payment receipt email under the Order section. You can access this email only if your account uses the default shopper emails communication setup that blends together the electronic delivery and the payment emails.

Why don't I see the new template for this email?

The redesigned template for the electronic delivery and payment receipt email has automatically replaced default templates.

If your preview of electronic delivery and payment receipt email does not show the new template, you are most probably using a customized version that includes content and/or styling your company requested at a certain point in time.

You can compare the above sample to your current template and send us an email if you decide the new one suits your business needs better. We will work with you on the switch.

Search cross-sell campaigns

Overview

Use the searchCrossSellCampaigns call to retrieve information on the cross-sell campaigns currently defined on your account. 

Request parameters

Parameters 

Type 

Required

Description 

CampaignName 

String 

Optional 

The name of the campaign.

Status 

String 

Optional 

The status of the campaign; can be ACTIVE/INACTIVE.

Products 

Array of strings 

Optional 

Array of product codes to apply to this campaign. 

RecommendedProducts 

Array of strings 

Optional 

Array of product codes recommended to the shopper.

StartDate 

String 

Optional 

The date when the cross-sell campaign starts, formatted as YYYY-MM-DD 

EndDate 

String 

Optional 

The date when the cross-sell campaign ends, formatted as YYYY-MM-DD 

Type String Optional Can be MERCH/AFF.

Pagination 

Object 

Optional 

  

Page 

Int 

Optional 

The page number of the results.

Limit 

Int 

Optional 

The number of results per page.

 

Request sample

<?php
declare(strict_types=1);

// Start clear CLI
echo chr(27).chr(91).'H'.chr(27).chr(91).'J';
// End clear CLI

$executionStartTime = microtime(true);

class Configuration
{
    public const MERCHANT_CODE = 'your_merchant_code';
    public const MERCHANT_KEY = 'your_merchant_key';

    public const URL = 'http://api.avangate.local/rpc/6.0';
}

class Client
{
    private const LOGIN_METHOD = 'login';
    private const SEARCH_CROSS_SELL_CAMPAIGNS = 'searchCrossSellCampaigns';

    private int $calls = 1;

    private function generateAuth(): array
    {
        $merchantCode = Configuration::MERCHANT_CODE;
        $key = Configuration::MERCHANT_KEY;
        $date = gmdate('Y-m-d H:i:s');
        $string = strlen($merchantCode) . $merchantCode . strlen($date) . $date;
        $hash = hash_hmac('md5', $string, $key);

        return compact('merchantCode', 'date', 'hash');
    }

    public function login()
    {
        $payload = $this->generateAuth();
        $response = $this->callForRpc(Configuration::URL, self::LOGIN_METHOD, array_values($payload));

        return $response['result'];
    }


    private function callForRpc(string $url, string $action, ?array $payload = null)
    {
        $request = json_encode([
            'jsonrpc' => '2.0',
            'method' => $action,
            'params' => $payload,
            'id' => $this->calls++,
        ]);

        $headers = [
            'Content-Type: application/json',
            'Accept: application/json',
            'Cookie: XDEBUG_SESSION=PHPSTORM'
        ];

        $curl = curl_init($url);
        curl_setopt($curl, CURLOPT_POST, 1);
        curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
        curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
        curl_setopt($curl, CURLOPT_SSLVERSION, 0);
        curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
        curl_setopt($curl, CURLOPT_POSTFIELDS, $request);
        $response = curl_exec($curl);
        if (empty($response)) {
            die('Server unavailable');
        }

        echo "\n\r Method " . $action . " result: \n\r";
        echo $response . "\n\r";

        return json_decode($response, true);
    }

    private function buildSearchParameters(): array
    {
        $searchOptions = new \stdClass();

        $searchOptions->Status = ['ACTIVE'];     // Optional | Ex: ['ACTIVE']
        $searchOptions->Type = null;             // Optional | Ex: 'MERCH'
        $searchOptions->CampaignName = null;     // Optional | Ex: 'UpdatedCampaign_4'
        $searchOptions->Products = [];           // Optional | Ex: ["a01", "a02"]
        $searchOptions->RecommendedProducts = [];// Optional | Ex: ["a03"]
        $searchOptions->StartDate = null;        // Optional | Ex: 'YYYY-MM-DD'
        $searchOptions->EndDate = null;          // Optional | Ex: 'YYYY-MM-DD'
        $searchOptions->Pagination = null;       // Optional | Ex: {"Page": "1", "Limit": "10"}

        return (array)$searchOptions;
    }

    public function searchCrossSellCampaigns($sessionId)
    {
        $response = $this->callForRpc(
            Configuration::URL,
            self::SEARCH_CROSS_SELL_CAMPAIGNS,
            [$sessionId, $this->buildSearchParameters()]
        );

        return $response['result'];
    }
}

$client = new Client();

$sessionId = $client->login();

$result = $client->searchCrossSellCampaigns($sessionId);
var_dump("SEARCH CROSS SELL CAMPAIGNS: \n\r", json_encode($result, JSON_PRETTY_PRINT));

$executionEndTime = microtime(true);

// The duration will be displayed in seconds and milliseconds.
$seconds = round($executionEndTime - $executionStartTime, 2);

// Print it out
echo "\n\rThis script took $seconds to execute.\n\r";

Response

Parameters Type/Description
Items An array of CrossSellCampaign Objects
Pagination Pagination Object with the following parameters: Page, Limit, Count

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo