Skip to main content

Search SKU codes

Overview

Use the searchSku method to perform product SKU search calls with the below parameters.

Request Parameters

Parameters Required Type Description
ProductCode Required String The product code that you can define for each of your offerings. Needs to be unique.
PricingConfigurations Required Array of objects  

Code

Required String  

Currencies

Required Array of Objects ISO currency code.

Code

Required String  

PurchaseTypes

Required Array of objects Purchase type identifier. Possible values:
  • NEW_PRODUCT
  • RENEWAL
  • UPGRADE

Code

Required String  

QuantityIntervals

Required Object Numeric identifier of product quantity.

MinQuantity

Required Int  

MaxQuantity

Required Int  

PriceOptionGroups

Required Array of objects  

Code

Required String  

Options

Required Array of objects  

OptionValue

Required String  
Pagination Required Object  

Page

Required Int  

Limit

Required Int  

Request Example

<?php

require ('PATH_TO_AUTH');

$inputSchema = new \stdClass();
$inputSchema->ProductCode= '6B3CB17DDA_COPY1';

$pricingConfiguration = new \stdClass();
$pricingConfiguration->Code = 'E684EC99B0';

$currency = new \stdClass();
$currency->Code = 'EUR';
$pricingConfiguration->Currencies = [$currency];

$purchaseType = new \stdClass();
$purchaseType->Code = 'RENEWAL';
$pricingConfiguration->PurchaseTypes = [$purchaseType];

$quantityIntervals = new \stdClass();
$quantityIntervals->MinQuantity= 1;
$quantityIntervals->MaxQuantity= 10;
$pricingConfiguration->QuantityIntervals = [$quantityIntervals];

$pagination = new \stdClass();
$pagination->Page = 1;
$pagination->Limit = 10;

$inputSchema->PricingConfigurations = [$pricingConfiguration];
$inputSchema->Pagination = $pagination;


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

var_dump("searchSku", $skuData);

Response Parameters

Parameters Type/Description
Items Object

{ProductCode}

Object. This element will be replaced by the code of the product.

SkuPricingOptions

Array of strings

Code

String

Details

Array

ProductSKU

String

Currency

String

FromQty

Int

ToQty

Int

PurchaseTypes

String

Groups

Array

GroupCode

String

Options

Array

               Name

String
                                                                                Value String

Errors

Array
Pagination Object

Limit

Int

Page

Int

Count

Int

Response Example

object(stdClass)#22 (2) {
    public $Items" =>
    object(stdClass)#21 (1) {
      public $6B3CB17DDA_COPY1 =>
      object(stdClass)#4 (2) {
        public $ProductCode =>
        string(18) "6B3CB17DDA_COPY1"
        public $SkuPricingOptions =>
        array(1) {
          [0]=>
          object(stdClass)#5 (3) {
            public $Code =>
            string(10) "E684EC99B0"
            public $Details =>
            array(5) {
              [0]=>
              object(stdClass)#6 (7) {
                public $ProductSKU =>
                string(4) "Product_Test_SKU_008899"
                public $Currency =>
                string(4) "EUR"
                public $FromQty =>
                int(1)
                public $ToQty =>
                int(10)
                public $PurchaseType =>
                string(11) "RENEWAL"
                public $Groups =>
                array(1) {
                  [0]=>
                  object(stdClass)#7 (2) {
                    public $GroupCode =>
                    string(7) "GRUP_2"
                    public $Options =>
                    array(1) {
                      [0]=>
                      object(stdClass)#8 (2) {
                        public $Name =>
                        string(7) "grup 2"
                        public $Value =>
                        string(4) "option_code_4"
                      }
                    }
                  }
                }
                public $Options =>
                string(32) "a:1:{i:16885;a:1:{i:0;i:78164;}}"
              }
              [1]=>
              object(stdClass)#9 (7) {
                public $ProductSKU =>
                string(4) "Product_Test_SKU_008902"
                public $Currency =>
                string(4) "EUR"
                public $FromQty =>
                int(1)
                public $ToQty =>
                int(10)
                public $PurchaseType =>
                string(11) "RENEWAL"
                public $Groups =>
                array(1) {
                  [0]=>
                  object(stdClass)#10 (2) {
                    public $GroupCode =>
                    string(7) "GRUP_2"
                    public $Options =>
                    array(1) {
                      [0]=>
                      object(stdClass)#11 (2) {
                        public $Name =>
                        string(6) "grup 2"
                        public $Value =>
                        string(13) "option_code_4"
                      }
                    }
                  }
                }
                public $Options =>
                string(6) "a:0:{}"
              }
            public $Errors =>
            array(0) {
            }
          }
        }
      }
    }
    public $Pagination =>
    object(stdClass)#23 (3) {
      public $Limit =>
      int(10)
      public $Page =>
      int(1)
      public $Count =>
      int(5)
    }

Next renewal price

Overview

The object below is returned directly or within a successful response from the following API requests:

Retrieve next renewal price

Next renewal price object

Parameters Type/Description

NetPrice

Double

 

Price without taxes

NetCurrency

String

 

Currency for the price without taxes. The currency ISO code used for the payment - ISO 4217.

FinalPrice

Double

 

Price with taxes

FinalCurrency

String

 

Currency used for prices with taxes. The currency ISO code used for the payment - ISO 4217.

SEPA Direct Debit

Overview

A type of payment that the bank makes by accessing funds from an account when the holder instructs it to do so. Money can be drawn either at the time of sale but also when a bill is due, and the transactions can be preauthorized, which is why Direct Debit is also referred to as pre-authorized debit (PAD) or pre-authorized payment (PAP).

Approximately 20% of online payments in Germany in 2010 were made using ELV (Direct Debit), with the number decreasing from 33% in 2009. ELV's share of online transactions has continued to decrease, and is now at under 10% in Germany. 24% of non-cash transactions in Europe in 2010 involved Direct Debit.

Introduction

SEPA stands for Single Euro Payment Area, a European regulatory initiative that creates a standard format for processing transactions in 33 markets across Europe. SEPA Direct Debit blur the lines between cross-border and domestic payments.

Compliance requirements

  • The deadline for the migration was February 1st, 2014 - extended until  August 1st.
  • The deadline for non-EU countries was February 1st 2016.

Countries impacted by SEPA

SEPA covers the existing 28 EU member states of the European Union, together with Iceland, Lichtenstein, Monaco, Norway and Switzerland):

Austria, Belgium, Bulgaria, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Liechtenstein, Lithuania, Luxembourg, Malta, Monaco, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, United Kingdom.

Countries covered by 2Checkout

Germany, the Netherlands, Spain, Belgium, France and Austria for Direct Debit.

Impact at 2Checkout

  • Direct Debit, and iDeal
  • Local wire transfers you receive from 2Checkout if you're company is headquartered in a market covered by SEPA.

IBAN and BIC

IBAN (International Bank Account Number) and BIC (Business Identifier Code) need to be used exclusively as account and bank identifiers for SEPA transactions. Pre-SEPA they were required only for cross-border payments and moving forward they will also apply to domestic payments.

  • 2Checkout will require IBAN and BIC information from shoppers paying with Direct Debit from Germany, the Netherlands, Spain, Belgium, France and Austria (instead of national sort codes and account number).
  • 2Checkout will provide IBAN and BIC details for its own account and bank to shoppers using wire transfers.
  • 2Checkout will pay vendors using IBAN and BIC info for their accounts and banks.
  • 2Checkout will update bank and account information for existing customers/subscribers, using the data for automatic subscription renewal charges.

Mandates and E-mandates

Shoppers authorize 2Checkout to collect a payments and instruct the their bank to pay those collections with SEPA mandates.

  • 2Checkout uses e-mandates and does not require shoppers to fill in and submit paperwork.
  • Mandates expire within 36 months after the last initiated collection.
  • 2Checkout stores mandates at least for 14 months after the last collection of funds.

Process changes

Pre-SEPA new purchase process

SEPA compliant new purchase process

1. Shoppers in Germany, the Netherlands, Spain, Belgium, France and Austria select Direct Debit as a payment method, provide their bank sort code and account number and place the order.

2. Order status: PENDING.

3. 2Checkout validates the Direct Debit details provided by shoppers and starts the process of funds collection.

4. 2Checkout Risk analysts approve orders using Direct Debit manually.

5. 2Checkout triggers the money transfer that usually takes a few days.

6. Order status: In progress / Processing.

7. Following fulfillment order status moves to COMPLETE.

 

1. Shoppers in Germany, the Netherlands, Spain, Belgium, France and Austria select Direct Debit as a payment method, provide their bank SWIFT code(BIC) and IBANinformation and place the order.

2. Order status: PENDING.

3. 2Checkout crates mandates (profiles) for payments

4. 2Checkout risk analysts approve orders using Direct Debit manually.

5. 2Checkout validates the signed mandate and stores mandates for at least 14 months.

6. 2Checkout will use mandates for future actions such as refunds and the renewal of subscriptions generated from the initial orders.

7. 2Checkout triggers the money transfer that usually takes a few days.

8. Order status: In progress / Processing.

9. Following fulfillment order status moves to COMPLETE.

 

Pre-SEPA auto-renewal process

SEPA compliant auto-renewal process

1. 2Checkout system creates orders to renew expiring subscriptions which are approved automatically.

2. 2Checkout triggers the money transfer that usually takes a few days.

3. Order status: In progress / Processing.

4. Following fulfillment order status moves to COMPLETE.

 

1. 2Checkout system creates an order to renew expiring subscriptions based in the mandate token for the initial order, and triggers the money transfer.

2. Order is approved automatically. Status: In progress / Processing.

3. Following fulfillment order status moves to COMPLETE.

Workflow

  1. Shoppers in the Netherlands, Germany, Spain, Belgium, France and Austria select Direct Debit as their preferred payment method.
  2. One the next page, they need to fill in their bank account information.

3. They'll be redirected to the Thank You page when the purchase is finalized.

Cart design changes

IBAN and SWIFT code will be collected during the purchase process.

Emails

Emails already communicate the due dates and billing amounts to customers (renewal notifications), along with 2Checkout's IBAN and SWIFT code (for follow-ups).

F.A.Q.

  1. What type of payments does SEPA govern?
    • Both single (one-off) and recurring Direct Debit collections. There's no limit on amounts transferred.
  2. What currency is used for money transfers?
    • While existing local currencies can still be used in the purchase process by consumers, money transfers will be done exclusively in Euro.
  3. What are the rules for refunds?
    • Payers can ask for a "no-questions-asked" refund right during the eight weeks (56 days) following the debiting of a payer's account. This period is extended to 13 months for unauthorized Direct Debit collections.

Update coupon

Overview

Use the updatePromotionCoupon method to add single or multiple coupons to a promotion.

Updating a promotion with multiple coupons causes any existing single coupon to be removed.

Parameters

Parameter Type/Description

promotionCode

Required (string)

 

The code corresponding to the promotion that you want to update.

promotionCoupon

Required (object)

 

type

Required (string)

 

 

Coupon type. Available values:

  • SINGLE, use in conjunction with Code
  • MULTIPLE, use in conjunction with Codes

 

Code/Codes

Required (string / array of strings)

 

 

Coupon code (for SINGLE) or array of coupon codes (for MULTIPLE).

Response

Parameter Type/Description
promotionCoupon Object

Request

<?php

require ('PATH_TO_AUTH');

// Promotion code corresponding to the promotion you want to add coupons to
$promotionCode = '';

// Define single coupon object
$promotionCoupon = new stdClass;
$promotionCoupon->Type = 'SINGLE';
$promotionCoupon->Code = 'YOUR_CODE_HERE';

// Define multiple coupon object
$promotionCoupon = new stdClass;
$promotionCoupon->Type = 'MULTIPLE';
$promotionCoupon->Codes = ['YOUR_CODE_1', 'YOUR_CODE_2'];

$jsonRpcRequest = array (
'jsonrpc' => '2.0',
'id' => $i++,
'method' => 'updatePromotionCoupon',
'params' => array($sessionID, $promotionCode, $promotionCoupon)
);
var_dump (callRPC($jsonRpcRequest, $host));

Search affiliates

Overview

Use the searchAffiliates method to find out details about one or more affiliates.

Request Parameters

Parameters Required Type/Description

AffiliateCode

Required String. Unique, system-generated identifying code of the affiliate.
Status Optional String.  Merchant Affiliate relationship status. Can be ACTIVE or DISABLED.
RequestDateStart Optional Date. Format is YYYY-MM-DD. Affiliate Request start date.
RequestDateEnd Optional Date. Format is YYYY-MM-DD. Affiliate Request end date.
Page Optional Integer. Page number. Value = '1' to '9999'.
Limit Optional Integer. Number of results on a page. Value = '1' to '9999'.
Name Optional String. Affiliate name.
Country Optional Array. Affiliate country.
TargetCountry Optional Array. Countries where the affiliate sells into.
CommissionList Optional Array. Value = default. Affiliate commission list.
Type Optional Array. Affiliate type.

Request Example


Response Parameters

Parameters Description

AffiliateCode

Unique, system-generated identifying code of the affiliate.
Status Merchant Affiliate relationship status.
AffiliateName Name of the affiliate.
Website Website of the affiliate.
CommissionList Affiliate commission list.
                                        ListName Name of the affiliate commission list.
                                        CommissionRate Value of the commission rate (in %).
RequestDate  
Categories Product category  of the affiliate.
NotifyUpdates Boolean. Value can be TRUE or FALSE.
TCSStatus  
AffiliateContact Affiliate contact details.
                                         FirstName Affiliate first name.
                                         LastName Affiliate last name.
                                        Phone Affiliate phone number.
                                        Email Affiliate email.
                                        Country Country of the affiliate.

Response Example

{  
   "AffiliateCode":"TFTF76455ee4YFCFCT6545465",
   "Status":"Active",
   "Affiliate Name":"Affiliate 1",
   "Website":"https://affiliate1.com",
   "CommissionLists":[  
      {  
         "ListName":"CommissionList1",
         "CommissionRate":"25%"
      }
   ],
   "RequestDate":"2018-10-05",
   "Categories":["PC security","Mobile security","Tablet security"],
   "NotifyUpdates":true,
   "TCStatus":"Accepted",
   "AffiliateContact":{  
      "FirstName":"FN",
      "LastName":"LN",
      "Phone":"0040723483987",
      "Email":"FN.LN@2AFFLT.COM",
      "Country":"Spain"
   }
},
{  
   "AffiliateCode":"TFTF76455ee4YFCFCT6545466",
   "Status":"Active",
   "Affiliate Name":"Affiliate2",
   "Website":"https://Affiliate2.com",
   "CommissionLists":[  
      {  
         "ListName":"CommissionList1",
         "CommissionRate":"25%"
      }
   ],
   "RequestDate":"2018-10-05",
   "Categories":["PC security","Mobile security","Tablet security"],
   "NotifyUpdates":true,
   "TCStatus":"Agreed",
   "AffiliateContact":{  
      "FirstName":"FN",
      "LastName":"LN",
      "Phone":"0040723483987",
      "Email":"FN.LN@2AFFLT.COM",
      "Country":"Spain"
   }
}

Delete SKU codes

Overview

Use the deleteSku method to remove product SKU codes through an API call using the below parameters.

Request Parameters

Parameters Required Type/Description
ProductCode Required String. The product code that you can define for each of your offerings. Needs to be unique.
PriceConfigurations Required String.
PriceConfigurationCode Required String. Unique identifier of the pricing configuration.
SkuCode Required String. Unique identifier of the SKU schema.

Request Example

<?php

require ('PATH_TO_AUTH');

$product = new \stdClass();
$product->ProductCode= '6B3CB17DDA_COPY1';

$pricingConfiguration = new \stdClass();
$pricingConfiguration->PriceConfigurationCode = 'E684EC99B0';
$pricingConfiguration->SKUs = ['Product_Test_SKU_001050', 'Product_Test_SKU_001053'];

$product->PriceConfigurations = [$pricingConfiguration];


try {
    $skuOutput = $client->deleteSku($sessionID, [$product]);
} catch (SoapFault $e) {
    echo "deleteSku: " . $e->getMessage();
    exit;
}

var_dump("deleteSku", $skuOutput);

Response Parameters

Parameters Type/Description
ProductCode String
PriceConfigurations String
PriceConfigurationCode String

Response Example

array(1) {
  [0] =>
  class stdClass#5 (4) {
    public $ProductCode =>
    string(16) "6B3CB17DDA_COPY1"
    public $PriceConfigurations =>
    array(1) {
      [0] =>
      class stdClass#6 (3) {
        public $PriceConfigurationCode =>
        string(10) "E684EC99B0"
        public $SKUs =>
        array(2) {
          [0] =>
          string(23) "Product_Test_SKU_001050"
          [1] =>
          string(23) "Product_Test_SKU_001053"
        }
        public $Errors =>
        array(0) {
        }
      }
    }
    public $SKUs =>
    array(0) {
    }
    public $Errors =>
    array(0) {
    }
  }
}

Billing currencies

Overview

2Checkout tailors the way in which shoppers see prices in their local currencies according to the conventions in their country.

  • Using the currency symbol instead of the ISO code - ensures that cart/checkout prices are as friendly as possible for local shoppers.
  • Positioning the currency symbol - Placing symbols according to conventions in each market, either before or after the price.
  • Decimal and thousands of separators - Once more, local conventions dictate whether a dot or a comma should be used to separate decimals and thousand.

*Up to 99 billing currencies are available depending on your region.

Available billing currencies

Item no.

Currency name

Currency code

Symbol

Symbol position

Decimal separator

Unit separator

Billing currency

1. Emirati dirham

AED

AED

right

. (dot)

, (comma)

YES
2. Afghani

AFN

Af

right

. (dot)

, (comma)

YES
3. Albanian lek

ALL

Lek

left

. (dot)

, (comma)

YES
4. Argentine peso*

ARS*

ARS*

right

. (dot)

, (comma)

YES
5. Australian dollar

AUD

A$ 

left

. (dot)

, (comma)

YES
6. Azerbaijani manat

AZN

right

. (dot)

, (comma)

YES
7. Barbadian dollar

BBD

$

right

. (dot)

, (comma)

YES
8. Bangladeshi taka BDT Tr right . (dot)

, (comma)

YES
9. Bulgarian lev

BGN

лв

right

. (dot)

, (comma)

YES
10. Bahraini dinar

BHD

BD

right

. (dot)

, (comma)

NO (display only)
11 Bermudian dollar

BMD

$

right

.(dot)

, (comma)

YES
12. Brunei dollar

BND

$

right

.(dot)

,(comma)

YES
13. Bolivian boliviano

BOB

BOB

right

. (dot)

, (comma)

YES
14. Brazilian real

BRL

R$

left

, (comma)

. (dot)

YES
15. Bahamian dollar

BSD

$

right

. (dot)

,(comma)

YES
16. Botswana pula

BWP

P

right

. (dot)

, (comma)

YES
17. Belarusian ruble

BYN

Br

right

. (dot)

, (comma)

YES
18. Belize dollar

BZD

BZ$

right

. (dot)

, (comma)

YES
19. Canadian dollar

CAD

  $CAD

left

. (dot)

, (comma)

YES
20. Swiss franc

CHF

CHF

left

. (dot)

, (comma)

YES
21. Chinese yuan

CNY

CNY

right

. (dot)

, (comma)

YES
22. Colombian peso

COP

COP

right

. (dot)

, (comma)

YES
23.

Costa Rican colón

CRC

right

. (dot)

, (comma)

YES
24. Czech koruna

CZK

right

. (dot)

, (comma)

YES
25 Danish krone

DKK

kr

right

. (dot)

, (comma)

YES
26. Dominican peso

DOP

RD$

right

. (dot)

, (comma)

YES
27. Algerian dinar

DZD

DA

right

, (comma)

. (dot)

YES
28. Egyptian pound

EGP

EGP

right

. (dot)

, (comma)

YES
29. Euro

EUR

right

, (comma)

. (dot)

YES
30. Fijian dollar

FJD

$

right

. (dot)

, (comma)

YES
31. British pound

GBP

£

left

. (dot)

, (comma)

YES
32 Guatemalan quetzal

GTQ

Q

right

. (dot)

, (comma)

YES
33. Hong Kong dollar

HKD

HKD

right

. (dot)

, (comma)

YES
34. Honduran lempira

HNL

L

right

. (dot)

, (comma)

YES
35. Haitian gourde

HTG

G

right

. (dot)

, (comma)

NO (display only)
36. Hungarian forint

HUF

Ft

right

. (dot)

, (comma)

YES
37. Indonesian rupiah

IDR

Rp

right

. (dot)

, (comma)

YES
38. Israeli new shekel

ILS

left

. (dot)

, (comma)

YES
39. Indian rupee

INR

right

. (dot)

, (comma)

YES
40. Jamaican dollar

JMD

J$

right

. (dot)

, (comma)

YES
41. Jordanian dinar

JOD

JOD

right

. (dot)

, (comma)

YES
42. Japanese yen

JPY

¥

left

. (dot)

, (comma)

YES
43. Kenyan shilling

KES

KSh

right

. (dot)

, (comma)

YES
44. South Korean won

KRW

left

. (dot)

, (comma)

YES
45. Kuwaiti dinar

KWD

KWD

right

. (dot)

, (comma)

YES
46. Kazakhstani tenge

KZT

right

. (dot)

, (comma)

YES
47. Lao kip

LAK

right

. (dot)

, (comma)

YES
48. Lebanese pound

LBP

LBP

right

. (dot)

, (comma)

YES
49. Sri Lankan rupee LKR Rs right . (dot) , (comma) YES
50. Liberian dollar

LRD

$

right

. (dot)

, (comma)

YES
51. Moroccan dirham

MAD

MAD

right

. (dot) , (comma) YES
52. Moldovan leu

MDL

MDL

right

. (dot)

, (comma)

YES
53. Burmese kyat

MMK

K

right

. (dot)

, (comma)

YES
54. Macanese pataca

MOP

MOP$

right

. (dot) , (comma) YES
55 Mauritanian ouguiya

MRU

UM

right

, (comma)

. (dot)

YES
56. Mauritian rupee

MUR

right

. (dot) , (comma) YES
57. Maldivian rufiyaa

MVR

Rf, .ރ

right

. (dot) , (comma) YES
58. Mexican peso

MXN

MXN

right

. (dot)

, (comma)

YES
59. Malaysian ringgit

MYR

RM

right

. (dot)

, (comma)

YES
60 Namibian dollar

NAD

NAD

right

. (dot)

, (comma)

YES
61. Nigerian naira

NGN

right

. (dot)

, (comma)

YES
62. Nicaraguan córdoba

NIO

C$

right

. (dot)

, (comma)

YES
63. Norwegian krone

NOK

kr

right

. (dot)

, (comma)

YES
64. Nepalese rupee

NPR

right

. (dot) , (comma) YES
65. New Zealand dollar

NZD

NZD

left

. (dot)

, (comma)

YES
66. Omani rial

OMR

OMR

right

. (dot)

, (comma)

YES
67. Panamanian balboa

PAB

B/.

right

. (dot)

, (comma)

NO (display only)
68. Peruvian sol

PEN

S/.

right

. (dot)

, (comma)

YES
69. Papua New Guinean kina

PGK

K

right

. (dot) , (comma) YES
70. Philippine peso

PHP

right

. (dot)

, (comma)

YES
71. Pakistani rupee

PKR

Rs

right

. (dot) , (comma) YES
72. Polish złoty

PLN

right

. (dot)

, (comma)

YES
73. Paraguayan guaraní

PYG

Gs

right

. (dot)

, (comma)

YES
74. Qatari riyal

QAR

right

. (dot)

, (comma)

YES
75. Romanian leu

RON

LEI

right

, (comma)

. (dot)

YES
76. Serbian dinar

RSD

Дин

right

. (dot)

, (comma)

YES
77. Russia ruble

RUB

руб

right

. (dot)

 

YES
78. Saudi riyal

SAR

right

. (dot)

, (comma)

YES
79 Solomon Islands dollar

SBD

$

right

. (dot)

, (comma)

YES
80. Seychellois rupee

SCR

right

. (dot)

, (comma)

YES
81. Swedish krona

SEK

kr

right

. (dot)

, (comma)

YES
82. Singapore dollar

SGD

 S$

left

. (dot)

, (comma)

YES
83. Salvadoran colón

SVC

  $

right

. (dot)

, (comma)

NO (display only)
84. Syrian pound

SYP

  £

right

. (dot)

, (comma)

YES
85. Thai baht

THB

 ฿

right

. (dot)

, (comma)

YES
86. Tunisian dinar

TND

TND

right

, (comma)

. (dot)

YES
87. Tongan paʻanga

TOP

T$

right

. (dot)

, (comma)

YES
88. Turkish lira

TRY

right

, (comma)

 

YES
89. Trinidad and Tobago dollar

TTD

TT$

right

. (dot)

, (comma)

YES
90.. New Taiwan dollar

TWD

NT$ Jiao: 角

right

. (dot)

, (comma)

YES
91. Ukrainian hryvnia

UAH

right

. (dot)

, (comma)

YES
92. United States dollar

USD

$

left

. (dot)

, (comma)

YES
93 Uruguayan peso

UYU

$U

right

. (dot)

, (comma)

YES
94. Venezuelan bolívar VEF Bs right

. (dot)

, (comma)

NO (display only)
95. Vietnamese đồng

VND

right

. (dot)

, (comma)

YES
96. Vanuatu vatu

VUV

VT

right

. (dot)

, (comma)

YES
97. Samoan tālā

WST

$

right

. (dot)

, (comma)

YES
98. Eastern Caribbean dollar

XCD

$

right

. (dot)

, (comma)

YES
99. West African CFA franc

XOF

Fr

right

. (dot)

, (comma)

YES
100. Yemeni rial

YER

right

. (dot)

, (comma)

YES
101. South African rand

ZAR

R

left

. (dot)

 

YES

Available currencies by account type

2Monetize 2Sell & 2Subscribe
Visa/Mastercard PayPal Visa/Mastercard PayPal
USD USD USD USD
EUR EUR EUR EUR
GBP GBP GBP GBP
RON AUD RON AUD
AUD CAD AUD CAD
CAD CHF CAD JPY
CHF CZK CHF  
CZK DKK CZK  
DKK HUF DKK  
HUF JPY HUF  
JPY NOK JPY  
NOK PLN NOK  
PLN SEK PLN  
SEK RUB SEK  
TRY HKD TRY  
RUB MXN RUB  
CNY NZD CNY  
BGN PHP BGN  
BRL TWD BRL  
HKD ILS HKD  
IDR THB IDR  
KRW   KRW  
MXN   MXN  
MYR   MYR  
NZD   NZD  
PHP   PHP  
SGD   SGD  
ZAR   ZAR  
MDL   MDL  
AED   AED  
EGP   EGP  
INR   INR  
RSD   RSD  
UAH   UAH  
TWD   TWD  
ILS   ILS  
QAR   LBP  
SAR   JOD  
ARS*   KWD  
BOB   OMR  
COP   QAR  
DOP   SAR  
PYG   ARS*  
PEN   BOB  
UYU   COP  
NGN   CRC  
NAD   DOP  
TND   GTQ  
DZD   HNL  
KES   NIO  
VND   PYG  
MAD   PEN  
PKR   UYU  
THB   NGN  
BYN   NAD  
XOF   TND  
    DZD  
    KES  
    VND  
    MAD  
    PKR  
    THB  
    BDT  
    LKR  
    AFN  
    ALL  
    AZN  
    BBD  
    BMD  
    BND  
    BSD  
    BWP  
    BZD  
    FJD  
    JMD  
    KZT  
    LAK  
    LRD  
    MMK  
    MOP  
    MRO  
    MUR  
    MVR  
    NPR  
    PGK  
    SBD  
    SCR  
    TOP  
    TTD  
    VUV  
    WST  
    XCD  
    XOF  
    YER  
    BYR  
    BYN  
   Note: *Argentine peso (ARS) - Starting with February 10, 2023, VISA has announced that no transactions will be processed with Argentine Peso (ARS). Consequently, 2Checkout will align with this decision and disable ARS as billing currency. Any transactions with ARS will be blocked starting with February 10, 2023.

Currency Exchange Rate

You can instantly query the currency exchange rates used in the 2Checkout shopping carts by accessing:

https://secure.2checkout.com/content/exchange-xml.php?CURRENCY=USD
The currency exchange rate is updated daily, at 00:00 (2Checkout Time Zone GMT+2) with the exception of weekends and legal holidays.

The query will return an XML schema holding the corresponding values for the other currencies compared to the one supplied in the CURRENCY parameter.

Remove coupon

Overview

Use the deletePromotionCoupon method to remove multiple coupons from a promotion. You cannot delete a single coupon. The coupon is required for the promotion.

Parameters

Parameter Type/Description

promotionCode

Required (string)

 

The code corresponding to the promotion that you want to remove coupons from.

promotionCoupon

Required (object)

 

Type

Required (string)

 

 

Coupon type. Available values:

  • MULTIPLE, use in conjunction with Codes

 

Code/Codes

Required (string/array of strings)

 

 

Array of coupon codes (for MULTIPLE).

Response

Parameter Type/Description
promotionCoupon Object

Request

<?php

require ('PATH_TO_AUTH');

// Promotion code corresponding to the promotion you want to remove coupons from
$promotionCode = '';

// Define multiple coupon object
$promotionCoupon = new stdClass;
$promotionCoupon->Type = 'MULTIPLE';
$promotionCoupon->Codes = ['YOUR_CODE_1', 'YOUR_CODE_2'];

$jsonRpcRequest = array (
'jsonrpc' => '2.0',
'id' => $i++,
'method' => 'deletePromotionCoupon',
'params' => array($sessionID, $promotionCode, $promotionCoupon)
);
var_dump (callRPC($jsonRpcRequest, $host));

Add an AfterSale message for your shoppers

Overview

Add a custom HTML formatted text to the last stage of the ordering process (the Thank You page - finish.php), engaging shoppers directly after payment confirmation (transaction was authorized successfully). Insert special variables including first and last name, email, order reference, total value and currency using the buttons above the custom AfterSale Message field.

Use the Tracking Script area to include external scripts (such as Google Analytics) for an advanced feedback monitoring of sales, cart visitors and tracking of customer conversion rates.

Availability

  1. AfterSale messages for the desktop version of the shopping cart are available for all 2Checkout accounts.
  2. Setting AfterSale messages for mobile users requires an account with the 2Checkout shopping cart activated. Contact 2Checkout directly for more details.

What is the AfterSale message?

You can use this feature to reach out to shoppers who successfully placed an order with personalized messaging.

When is the AfterSale message displayed to shoppers?

The AfterSale Message is displayed to customers only after they successfully place an order.

  • Payment needs to be authorized successfully. This usually happens for online payment methods that are authorized instantaneously, such as credit/debit cards and PayPal.
  • Payment needs to go through without any problems or errors.

How do AfterSale Messages work?

  1. Go to Dashboard →Setup → Ordering Options →​​​​​​​ AfterSale Message.
  2. Select the type of platform you want the message to be displayed for. AfterSale Messages need to be defined for each platform separately:
    • Desktop
    • Mobile
  3. Use the Special Variables buttons to insert custom variables identifying the shopper placing the order, such as first and last name, email address, order reference number, total value, currency. Below is an example of an AfterSale Message.
  4. You can use HTML formatting and tags and edit the code directly. You also have the option of previewing your message using the Preview button.
  5. Select the language for your message. Use the Apply for all languages option to set the same message for all languages available for your account. Customers using a language for which you did not set an AfterSale message will not be offered the special messaging.
  6. To edit AfterSale Messages, you need to edit each item individually. Selecting the Apply for all languages option will overwrite all existing messages with the latest text you supply.
  7. Click Save message.

aftersale message_2.png

AfterSale Message example

Dear Mr./Mrs. <--{FIRST_NAME}--> <--{LAST_NAME}-->,
<p>Thank you for choosing our services! </p>
<p>Your order reference number is <--{REFNO}--> with a total amount of
<--{TOTAL}--> <--{CURRENCY}-->.
Your e-mail address used for this order is <--{EMAIL}--> </p>

Display the AfterSale message for all orders

By default, the after-sale message is displayed only for orders with payments authorized instantly (this includes usually credit cards and PayPal), after the payment is complete (transaction needs to be authorized successfully). To display the message for all placed orders regardless of the payment status:

  1. Go to Dashboard →​​​​​​​Setup →​​​​​​​ Ordering Options.
  2. Scroll down to the bottom of the Order settings area and check the checkbox for the Show message for all placed orders option.
  3. Click Save Settings.

The message will be displayed even for orders where the payment is not yet received (like bank transfers or checks).

aftersale message_3.png

FAQ

Is there a way to bypass the Thank You page and not display the AfterSale Message?

Yes. If you use a Redirect URL when generating buy-links, i.e. including the BACK_REF parameter in buy-links together with a specific URL where shoppers are redirected after placing the order. Shoppers will be redirected to this URL after the payment is confirmed. The redirect URL replaces the default 'Thank you' page (except for offline payment methods such as Bank Transfer).

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