Page History
...
Services for invoicing and payment of bills provides a simple way of processing a payment by link (URL) which client can use to follow and make a payment on order in IPS Assist. The enterprise merchant calls the service of bill creation (providing info about bill number, amount, payment timeout and etc.), IPS Assist makes a bill record and payment token associated to this bill. A bill also can be created manually within the personal account (https://account.paysecure.ru/). IPS Assist sends the link with the payment token to customer via E-mail or the enterprise generates an URL using the received payment token, and redirects the customer to the bill payment page. The enterprise also can send the payment link to customer via E-mail, SMS or via other means of communication from its own side. Payment link looks like the following:
...
- send a request for connection to bill services to the Assist support team (support@assist.ru);
- receive the confirmation from Assist support team that all necessary settings are done for the merchant
...
The service accepts the bill parameters ( in HTTP POST/SOAP format) or JSON (swagger specification: https://docs.assist.ru/swagger/) format and returns (in case of successful bill creation) a payment token/ID corresponding to that bill. The enterprise can make a payment link using this payment token/ID to redirect the customer to the bill payment page or send it to customer from its own side (E-mail, SMS or other type of communications), or IPS Assist can send it by E-mail customer's address specified in the parameters.
...
Parameter | Mandatory field | Adopted values | Default value | Description |
Merchant_ID | Yes | Number | The enterprise identifier in IPS Assist | |
Login | Yes | 8 - 20 characters | Login (Latin letters, digits and symbol _) | |
Password | Yes | 8 - 20 characters | Password (Latin letters and digits) | |
Bill | Yes/No*1 | String | Bill number (in creating order will be used as OrderNumber) | |
Bill_amount | YesNumber | 15 digits, two digits after the delimiter (delimiter '.') | Bill amount (OrderAmount in order) | |
Bill_currency | Yes | String | Bill currency (OrderCurrency) | |
Bill_comment | No | String | Comment (OrderComment in order) | |
Customer_Name | No | String | Customer's name (FirstName in order) | |
Customer_Lastname | No | String | Customer's last name (LastName in order) | |
Customer_Middlename | No | String | Customer's middle name (MiddleName in order) | |
Customer_Email | Yes/No**2 | String | Customer's e-mail (Email in order) | |
Customer_Phone | No | String | Customer's phone number (HomePhone in order) | |
Customer_Mobile | No | String | Customer's mobile phone number (MobilePhone in order) | |
Language | No | RU EN | Setting of basic merchant account language | Language of authorized pages |
Pay_until | No | Date/time | 1 day | Expire date of bill payment (date and time in GMT): YYYYMMDDThhmm, when parameter is not passed then its value is calculated based on merchant settings |
DelayPayment | No | Number | 0 | Attribute of a credit card authorization for the double-stage operation mode (parameter delay in order): 0- one-stage operation, 1 - double-stage operation. |
SendNotification | No | Number | Depending on merchant settings | Bill sending by E-mail: 0 – not send, 1 – send by E-mail, 2 – send by SMS, 1 – send by E-mail, 2 – send by SMS, 3 - send by E-mail and by SMS.3 - send by E-mail and by SMS. |
URL_RETURN | No | 256 characters | Page URL, to where a customer should return after performing his/her payment in the system (option "Go to the shop page" should be enabled in merchant's settings in Personal account). ). It is recommended to use HTTPS protocol for secure communication. | |
URL_RETURN_OK | No | 256 characters | URL_RETURN parameter value, or, if none, return URL parameter after successful authorization, specified in Personal account | Page URL, to where a customer should return after successful performing his/her payment in IPS Assist (option "Go to the shop page" should be enabled in merchant's settings in Personal account)). It is recommended to use HTTPS protocol for secure communication. |
URL_RETURN_NO | No | 256 characters | URL_RETURN parameter value, or, if none, return URL specified in Personal account | Page URL, to where a customer should return if the payment is not performed in IPS Assist or payment is still in progress (current payment status "In Progress"), see details.. The option "Go to the shop using return URL" should be enabled in merchant's settings in Personal account. It is recommended to use HTTPS protocol for secure communication. |
CardPayment | No | 1 – pay using bankcard; | 1 | A customer can perform his/her payment using bankcard, if parameter value 1 has been sent, or the parameter is missing (and bankcard payments are enable for the enterprise) |
YMPayment | No | 1 – use YandexMoney payment system, | 1 | A customer can perform his/her payment using YandexMoney payment system, if parameter value 1 has been sent, or the parameter is missing (and YandexMoney payments are enable for the enterprise) |
WMPayment | No | 1 – use WebMoney payment system, | 1 | A customer can perform his/her payment using WebMoney payment system, if parameter value 1 has been sent, or the parameter is missing (and WebMoney payments are enable for the enterprise) |
QIWIPayment | No | 1 – use QIWI payment system, | 1 | A customer can perform his/her payment using QIWI payment system, if parameter value 1 has been sent, or the parameter is missing (and QIWI payments are enable for the enterprise) |
FastPayPayment | No | 1; 0 | 1 | A customer can perform his/her payment using the Faster Payment System, if parameter value 1 has been sent and payments via FPS are enable for the enterprise. |
GooglePayPayment | No | 1; 0 | 1 | Payment via Google Pay attribute (=1) |
ApplePayPayment | No | 1; 0 | 1 | Payment via Apple Pay attribute (=1) |
SamsungPayPayment | No | 1; 0 | 1 | Payment via Samsung Pay attribute (=1) |
MirPayPayment | No | 1; 0 | 1 | Payment via Mir Pay attribute (=1) |
Checkvalue | Yes | String | Request validation code. *** 3 | |
CustomerNumber | No | String | Merchant's internal customer identification (for payments in OneClick program). |
Anchor | ||||
---|---|---|---|---|
|
1 * parameter BILL is not mandatory in case when automatic bill numbering is switched on.
Anchor | ||||
---|---|---|---|---|
|
2 ** If the value of the E-mail address is not sent, sending the bill by E-mail is not possible. If the value of phone number is not sent, sending the SMS is not possible. Note. For SendNotification= 3, if there is no phone number in the request, then the link to the bill will be sent only by E-mail; and if there is no E-mail address in the request, the notification will not be performed at all.
Anchor | ||||
---|---|---|---|---|
|
3 *** Check value is calculated by following formula:
uppercase(md5(uppercase(md5(SALT) + md5(Х)))), where SALT – secret word; Х – result of string concatenation (with semicolon (;) as delimiter) of the request parameters in order as they located in table from top to bottom excluding DelayPayment, SendNotification, Checkvalue and CustomerNumber, '+' – string concatenation.
...
When unique payment token/ID cannot be created the new bill is not created and an error is returned: "Unique payment token/ID cannot be created".
Information about using the 3-D Secure 2.0 protocol when creating a payment.
Example of bill creation request (HTTP POST):
...
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Header/> <Body> <WSCreateBill><CreateBill> <Bill> <merchant_id>423422</merchant_id> <login>login</login> <password>password</password> <bill>123456</bill> <bill_amount>23.23</bill_amount> <bill_currency>RUB</bill_currency> <bill_comment></bill_comment> <customer_name>Test</customer_name> <customer_lastname>Testov</customer_lastname> <customer_middlename>Testovich</customer_middlename> <customer_email>test@testpost.ru</customer_email> <customer_phone></customer_phone> <language>RU</language> <pay_until>20150611T1212</pay_until> <sendnotification>0</sendnotification> <checkvalue> AA3BC3F48B7FE23988044B53AA98F169</checkvalue> </Bill> </WSCreateBill>CreateBill> </Body> </Envelope> |
Example of request result:
...
* when E-mail sending was required in bill creation request (by parameter SendNotification=1 or by merchant settings in IPS Assist) then value of SendNotification in the result can have the following values:
1 – sending of E-mail message has not performed yet (for example when E-mail was not provided);
10 – E-mail message has been prepared and sent (it was placed in the sending queue).
Results example in CSV format:
...
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Header/> <Body> <WSBillStatus><BillStatus> <Bill> <merchant_id>423422</merchant_id> <login>login</login> <password>password</password> <bill>123456</bill> <billnumber></billnumber> </Bill> </WSBillStatus>BillStatus> </Body> </Envelope> |
Example of results:
...
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Header/> <Body> <WSBillRevoke><BillRevoke> <Bill> <merchant_id>423422</merchant_id> <login>login</login> <password>password</password> <bill>123456</bill> <sendnotification>0</sendnotification> <checkvalue> AA3BC3F48B7FE23988044B53AA98F169</checkvalue> </Bill> </WSBillRevoke>BillRevoke> </Body> </Envelope> |
Results example:
...
Subj | The bill has been invoiced for payment |
Text | Hello Test Testov, We inform you that bill # 1c362fd on amount of 888.42 RUB has been invoiced for payment. You can pay it till 25.01.2015 18:00 (MSK). To view and pay the bill go by link below. https://payments.paysecure.ru/bill/paybill.cfm?ID=c2RmZ2UzNXkyNXR5MjU0 Please address internet-shop #1 at shop1@testpost.ru in case of any questions concerning about this bill. _____________ With best regards, Assist Customer Service Team |
...
Subj | The bill was annulled |
Text | Hello Test Testov, We inform you that bill # 1c362fd on amount of 888.42 RUB was annulled. Please address internet-shop #1 at shop1@testpost.ru in case of any questions concerning about this bill. _____________ With best regards, Assist Customer Service Team |
...
Messages' templates can be tuned individually for the enterprise. Please, contact the Assist support team for it: support@assist.ru.