Page History
...
There can be different discounts for different conditions without sending the “PROMONAME” parameter. If the buyer’s card fits for several discounts at once, then the discount is applied according to the approved rules of the promotion.
To use a discount, you need it is necessaryto develop special payment page templates or modify individual templates. Payment pages should display information about discount conditions.
The main part of the discount settings is performed on the IPS Assist side. To do this, the merchant should inform the technical support department of IPS Assist about the exact values of the discount parameters:
- type of discount with or without sending the “PROMONAME” parameter;
- discount duration;
- message text for buyer;
- discount amount as a percentage and rounding rules for calculating the discount amount, as well as the maximum possible discount amount;
- rules for choosing a discount if there are several different promotions with discounts (summing discounts or using the maximum of several);
- types of cards that participate in the promotion;.
It should be borne in mind that payment with a discount in IPS Assist will consist of two operations: one real for the amount of the order minus the discount and the second virtual for the amount of the discount. Both operations will be displayed in the merchant’s Personal account, as well as in the responses of the payment results web services. The receipt for the buyer will indicate the total amount of the order, the amount paid and the discount.
...
Code Block | ||
---|---|---|
| ||
<?xml version='1.0' encoding='utf-8' standalone='yes'?> <!DOCTYPE result [ <!ATTLIST result firstcode CDATA #REQUIRED secondcode CDATA #REQUIRED count CDATA #REQUIRED> <!ELEMENT result (order*)> <!ELEMENT order (ordernumber?,billnumber?,testmode?,ordercomment?,orderamount?,ordercurrency?,firstname?,lastname?,middlename?,email?,orderdate?,orderstate?,packetdate?,signature?,checkvalue?,operation*)> <!ELEMENT ordernumber (#PCDATA)> <!ELEMENT billnumber (#PCDATA)> <!ELEMENT testmode (#PCDATA)> <!ELEMENT ordercomment (#PCDATA)> <!ELEMENT orderamount (#PCDATA)> <!ELEMENT ordercurrency (#PCDATA)> <!ELEMENT firstname (#PCDATA)> <!ELEMENT lastname (#PCDATA)> <!ELEMENT middlename (#PCDATA)> <!ELEMENT email (#PCDATA)> <!ELEMENT orderdate (#PCDATA)> <!ELEMENT orderstate (#PCDATA)> <!ELEMENT packetdate (#PCDATA)> <!ELEMENT signature (#PCDATA)> <!ELEMENT checkvalue (#PCDATA)> <!ELEMENT operation (billnumber?,operationtype?,operationstate?,amount?,currency?,clientip?,ipaddress?,meantype_id?,meantypename?,meansubtype?,meannumber?,cardholder?,issuebank?,bankcountry?,responsecode?,message?,customermessage?,recommendation?,approvalcode?,protocoltypename?,processingname?,operationdate?,authresult?,authrequired?,rrn?,extrrn?)> <!ELEMENT operationtype (#PCDATA)> <!ELEMENT operationstate (#PCDATA)> <!ELEMENT amount (#PCDATA)> <!ELEMENT currency (#PCDATA)> <!ELEMENT clientip (#PCDATA)> <!ELEMENT ipaddress (#PCDATA)> <!ELEMENT meantype_id (#PCDATA)> <!ELEMENT meantypename (#PCDATA)> <!ELEMENT meansubtype (#PCDATA)> <!ELEMENT meannumber (#PCDATA)> <!ELEMENT cardholder (#PCDATA)> <!ELEMENT issuebank (#PCDATA)> <!ELEMENT bankcountry (#PCDATA)> <!ELEMENT responsecode (#PCDATA)> <!ELEMENT message (#PCDATA)> <!ELEMENT customermessage (#PCDATA)> <!ELEMENT recommendation (#PCDATA)> <!ELEMENT approvalcode (#PCDATA)> <!ELEMENT protocoltypename (#PCDATA)> <!ELEMENT processingname (#PCDATA)> <!ELEMENT operationdate (#PCDATA)> <!ELEMENT authresult (#PCDATA)> <!ELEMENT authrequired (#PCDATA)> <!ELEMENT rrn (#PCDATA)> <!ELEMENT extrrn (#PCDATA)>]> <result firstcode='0' secondcode='0' count='1'> <order> <ordernumber>2022.07.11-6</ordernumber> <billnumber>5732614256223423</billnumber> <testmode>0</testmode> <ordercomment></ordercomment> <orderamount>100.00</orderamount> <ordercurrency>RUB</ordercurrency> <firstname>Test</firstname> <lastname>Testov</lastname> <middlename>T.</middlename> <email>test@assist.ru</email> <orderdate>11.07.2022 07:23:02</orderdate> <orderstate>Approved</orderstate> <packetdate>11.07.2022 07:41</packetdate> <signature></signature> <checkvalue>65A46731208432C4018D42091E8E4F35</checkvalue> <operation> <billnumber>5732614256223423.1</billnumber> <operationtype>100</operationtype> <operationstate>Success</operationstate> <amount>90.00</amount> <currency>RUB</currency> <clientip>81.211.118.98</clientip> <ipaddress>0.0.0.0</ipaddress> <meantype_id>1</meantype_id> <meantypename>VISA</meantypename> <meansubtype>Classic</meansubtype> <meannumber>411111****1111</meannumber> <cardholder>TEST TESTOV</cardholder> <cardexpirationdate>12/25</cardexpirationdate> <issuebank>New Assist Bank</issuebank> <bankcountry>Россия<<bankcountry>Russia</bankcountry> <responsecode>AS000</responsecode> <message> </message> <customermessage></customermessage> <recommendation></recommendation> <approvalcode>X26591</approvalcode> <protocoltypename>NET</protocoltypename> <processingname>BPCBel</processingname> <operationdate>11.07.2022 07:23:02</operationdate> <authresult>Y</authresult> <authrequired>1</authrequired> <slipno></slipno> <threedsdata> <version>1.0</version> <alphaauthresult>Y</alphaauthresult> <challenge>C</challenge> <eci>5</eci> </threedsdata> </operation> <operation> <billnumber>5732614256223423.2</billnumber> <operationtype>100</operationtype> <operationstate>Success</operationstate> <amount>10.00</amount> <currency>RUB</currency> <clientip>81.211.118.98</clientip> <ipaddress>0.0.0.0</ipaddress> <meantype_id>21</meantype_id> <meantypename>Discount</meantypename> <meansubtype></meansubtype> <meannumber></meannumber> <cardholder></cardholder> <cardexpirationdate></cardexpirationdate> <issuebank>UNKNOWN</issuebank> <bankcountry>UNKNOWN</bankcountry> <responsecode>AS000</responsecode> <message> </message> <customermessage></customermessage> <recommendation></recommendation> <approvalcode></approvalcode> <protocoltypename></protocoltypename> <processingname>Disc</processingname> <operationdate>11.07.2022 07:23:08</operationdate> <authresult></authresult> <authrequired></authrequired> <slipno></slipno> <threedsdata> <version></version> <alphaauthresult></alphaauthresult> <challenge></challenge> <eci>7</eci> </threedsdata> </operation> </order> </result> |
...
Unlike other types of promotions, by using promotional games, specific possibilities for implementing various functions of the promotional game are discussed with the merchant and, based on the results, all necessary settings are negotiated on the IPS Assist side and on the merchant side. The implementation of the results of promotional games in the form of prizes remains on the merchant’s side.
For the promotional game, it is necessary to develop special payment page templates or modify individual templates. Payment pages should display information about the game and its rules (or a link to them).
You should also develop special templates for letters to the buyer about the result of the payment with additional information about participation in the game.