- Guides
- API Reference
- Introduction
- Endpoints
- Data Types
- Signing
- 3-D Secure Verification
- Subscription
- Errors
- Webhooks
- Items Information
- Changelog
- Acquiring
- Create a direct paymentPOST
- Create a redirect (iFrame) paymentPOST
- Capture a transactionPOST
- Review a transactionPOST
- Cancel a transactionPOST
- Cancel a subscriptionPOST
- Query a transactionPOST
- Refund a transactionPOST
- Search a refund transactionPOST
- Create a payoutPOST
- Optimise payment methodsPOST
- Update an orderPOST
- Issuing
- Appendix
Create a redirect (iFrame) payment
POST
https://test-api.star-saas.com/v1/checkout
Request
Header Params
Content-Type
string
required
Example:
application/x-www-form-urlencoded
Body Params application/json
merchant_id
string
required
<= 7 characters
Example:
701001
account_id
string
required
<= 10 characters
Example:
701001010
order_no
string
required
<= 50 characters
Example:
1726891254563
amount
string
required
<= 15 characters
Example:
10.36
item_total
string
optional
<= 15 characters
Example:
10.00
shipping
string
optional
<= 15 characters
Example:
1.00
handling
string
optional
<= 15 characters
Example:
1.00
tax_total
string
optional
<= 15 characters
Example:
1.00
insurance
string
optional
<= 15 characters
Example:
1.00
shipping_discount
string
optional
<= 15 characters
Example:
1.00
discount
string
optional
<= 15 characters
Example:
1.00
items
string
required
<= 5000 characters
Example:
huawei#,#NUM1#,#230.00#,#1#;#Test2#,#NUM2#,#290.00#,#2
note
string
optional
<= 1000 characters
Example:
custom
string
optional
Example:
custom1;custom2;custom3;custom4;custom5
<= 2500 characters
Example:
card_type
string
optional
1: Visa
2: Master
3: JCB
4: AE
5: Diners
6: Maestro
<= 10 characters
payment_method
string
optional
<= 50 characters
open3d
string
optional
do3DS: try 3D
no3DS: non 3d
<= 10 characters
Example:
do3DS
token_flag
string
optional
YES: Tokenize the card information
NO: Do Not tokenize the card information
This parameter is required when Token is used
<= 10 characters
Example:
NO
shopper_id
string
required
<= 64 characters
Example:
apidog1
shopper_email
string
required
<= 100 characters
Example:
apidog@gmail.com
shopper_phone
string
optional
<= 50 characters
Example:
13012345678
shopper_level
string
optional
<= 50 characters
Example:
1
default_lang
string
optional
en_US --English
zh_HK --Hong Kong
zh_CN --China
ja_JP -- Japan
ko_KR -- South Korea
it_IT -- Italy
ru_RU -- Russia
en_ID -- Indonesia
th_TH -- Thailand
ar_AE -- United Arab Emirates<
tr_TR -- Turkey
nl_NL -- Netherlands
pt_PT -- Portugal
el_GR -- Greece
pl_PL -- Poland
<= 10 characters
logo_name
string
optional
<= 2 characters
first_name
string
required
<= 100 characters
Example:
Milton
last_name
string
required
<= 100 characters
Example:
Braganza
billing_country
string
optional
This parameter is required for tangible goods
<= 2 characters
Example:
CN
billing_city
string
optional
This parameter is required for tangible goods
<= 100 characters
Example:
Xiamen
billing_state
string
optional
This parameter is required for tangible goods and when the country is United States or Canada
<= 100 characters
Example:
FJ
billing_address
string
optional
This parameter is required for tangible goods
<= 300 characters
Example:
3610 Brighton Circle Road
billing_postal_code
string
optional
This parameter is required for tangible goods
<= 100 characters
Example:
56376
delivery_firstname
string
optional
<= 100 characters
Example:
Li
delivery_lastname
string
optional
<= 100 characters
Example:
Han
delivery_country
string
optional
<= 100 characters
Example:
CN
delivery_state
string
optional
<= 100 characters
Example:
FJ
delivery_city
string
optional
<= 100 characters
Example:
Xiamen
delivery_address
string
optional
<= 300 characters
Example:
3610 Brighton Circle Road
delivery_postal_code
string
optional
This parameter is required for tangible goods and when the country is United States or Canada
<= 100 characters
Example:
56376
return_url
string
required
<= 500 characters
notify_url
string
required
<= 500 characters
Example:
{{webUrl}}/v1/pages/NotifyResult.jsp
cancel_url
string
required
<= 500 characters
verify_billing_address
string
optional
<= 10 characters
encryption_data
string
required
encryption_data=sha256(merchant_id + account_id +order_no + currency +amount + first_name + last_name + card + expiration_year + expiration_month+ security_code + shopper_email + sign_key);
All encryption parameters need to remove spaces before encryption.
<= 64 characters
Example:
{{sign}}
platform_source
string
optional
Acceptable Value: Magento, Shopify, Shoplazza, Shopyy, Shopline, WooCommerce, Zencart, SAAS
<= 30 characters
Example:
Shopify
device_type
string
optional
PC
, Mobile
<= 20 characters
Example:
PC
price_id
string
optional
<= 50 characters
Example:
quote_id
string
optional
<= 50 characters
quote_price
string
optional
<= 15 characters
color_depth
string
optional
<= 50 characters
Example:
test
storefront_domains
string
optional
<= 200 characters
subscription
object
optional
contract
string
required
RECURRING – Payment details can be used without the card security code to initiate card-not-present transactions.
INSTALMENT – for instalment payment plans
<= 20 characters
contract_name
string
required
<= 200 characters
contract_amount
string
required
<= 15 characters
interval
enum<string>
required
Allowed values:
day
week
month
<= 20 characters
Allowed values:
daymonthyear
interval_count
string
required
<= 50 characters
billing_cycle
integer
required
For example, the subscription will last for 1 year if billing_cycles=12, interval_count=1 and interval=MONTH.
The subscription will continue indefinitely if billing_cycles is 0.
promotion_cycle
integer
optional
contract_start
string
required
<= 20 characters
contract_end
string
required
<= 20 characters
price_id
string
required
<= 50 characters
Example
{
"merchant_id": "701001",
"account_id": "701001010",
"order_no": "1726891254563",
"currency": "USD",
"amount": "10.36",
"item_total": "10.00",
"shipping": "1.00",
"handling": "1.00",
"tax_total": "1.00",
"insurance": "1.00",
"shipping_discount": "1.00",
"discount": "1.00",
"website": "website.com",
"items": "huawei#,#NUM1#,#230.00#,#1#;#Test2#,#NUM2#,#290.00#,#2",
"note": "",
"shopper_id": "apidog1",
"shopper_email": "apidog@gmail.com",
"shopper_ip": "219.78.45.63",
"shopper_phone": "13012345678",
"shopper_level": "1",
"open3d": "do3DS",
"token_flag": "NO",
"token_id": "",
"first_name": "Milton",
"last_name": "Braganza",
"notify_url": "{{webUrl}}/v1/pages/NotifyResult.jsp",
"document": "",
"birth_date": "02-02-1920",
"billing_country": "CN",
"billing_state": "FJ",
"billing_city": "Xiamen",
"billing_address": "3610 Brighton Circle Road",
"billing_postal_code": "56376",
"os": "Win10",
"browser": "Mozilla/5.0 (Windows NT 10.0; WOW64) …",
"browser_lang": "en-US",
"time_zone": "8",
"resolution": "1920x1080",
"cookie_new": "billing_country=US&shopper_email=test@ company.com&time_zone=.... ",
"cookie_old": "billing_country=US&shopper_email=test@ company.com&time_zone=.... ",
"challenge_window_size": "01",
"session_id": "",
"delivery_firstname": "Li",
"delivery_lastname": "Han",
"delivery_country": "CN",
"delivery_state": "FJ",
"delivery_city": "Xiamen",
"delivery_address": "3610 Brighton Circle Road",
"delivery_postal_code": "56376",
"custom": "",
"installments": "",
"installments_id": "",
"device_fingerprint": "",
"encryption_data": "003b48322659ff3be45f33135f9f46dc6edcf6e911100dfd925299c6b79e26f2",
"platform_source": "Shopify",
"device_type": "PC",
"order_type": "WEB",
"checkout_time": 1415273168,
"user_agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36",
"forter_token_cookie": "",
"cart_items": [
{
"basic_item_data": {
"name": "Tanya Langosh V",
"quantity": "19",
"type": "veniam ea dolore",
"price": {
"amount_usd": 341.99,
"amount_local_currency": 962.39,
"currency": "RON"
},
"category": "velit in exercitation incididunt",
"productId": "tempor nostrud"
}
},
{
"basic_item_data": {
"name": "Vicky Muller",
"quantity": "19",
"type": "elit eu aliqua ad mollit",
"price": {
"amount_usd": 911.79,
"amount_local_currency": 973.19,
"currency": "UYU"
},
"category": "pariatur in",
"productId": "cillum min"
}
}
],
"account_owner": [
{
"first_name": "Aditya",
"last_name": "Macejkovic",
"email": "Sydnie84@gmail.com",
"account_id": "aliquip",
"created": 65540588.10937965,
"past_orders_count": 26710687.666394636,
"past_orders_sum": -18973407.709439844,
"lastLogin_ip": "bbd5:0dab:9af3:83b9:adcd:9c8d:f36b:8fee",
"registration_ip": "152.207.3.206"
}
],
"total_discount": [
{
"coupon_code_used": "56",
"discount_type": "nostrud in aliq"
},
{
"coupon_code_used": "43",
"discount_type": "commodo dolore est cup"
},
{
"coupon_code_used": "51",
"discount_type": "culpa est"
}
],
"additional_information": [
{
"mpi_info": {
"eci": "",
"cavv": "dolor exercitation incididunt id",
"xid": "minim",
"dsTransID": "occaecat ex ut proide"
}
},
{
"mpi_info": {
"eci": "",
"cavv": "incididunt velit id",
"xid": "ullamco incididunt sit Excepteur",
"dsTransID": "in amet incididunt dolor"
}
}
],
"price_id": "695.95",
"quote_id": "",
"quote_price": "873.35",
"color_depth": "test",
"storefront_domains": "mealy-onset.info",
"subscription": {
"contract": "in consequat",
"contract_name": "Vickie Windler",
"contract_amount": "321.99",
"interval": "day",
"interval_count": "aliquip",
"billing_cycle": 72751013,
"promotion_cycle": 77462921,
"contract_start": "elit tempo",
"contract_end": "ir",
"price_id": "100.69"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test-api.star-saas.com/v1/checkout' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-raw '{
"merchant_id": "701001",
"account_id": "701001010",
"order_no": "1726891254563",
"currency": "USD",
"amount": "10.36",
"item_total": "10.00",
"shipping": "1.00",
"handling": "1.00",
"tax_total": "1.00",
"insurance": "1.00",
"shipping_discount": "1.00",
"discount": "1.00",
"website": "website.com",
"items": "huawei#,#NUM1#,#230.00#,#1#;#Test2#,#NUM2#,#290.00#,#2",
"note": "",
"shopper_id": "apidog1",
"shopper_email": "apidog@gmail.com",
"shopper_ip": "219.78.45.63",
"shopper_phone": "13012345678",
"shopper_level": "1",
"open3d": "do3DS",
"token_flag": "NO",
"token_id": "",
"first_name": "Milton",
"last_name": "Braganza",
"notify_url": "https://test-api.star-saas.com/v1/pages/NotifyResult.jsp",
"document": "",
"birth_date": "02-02-1920",
"billing_country": "CN",
"billing_state": "FJ",
"billing_city": "Xiamen",
"billing_address": "3610 Brighton Circle Road",
"billing_postal_code": "56376",
"os": "Win10",
"browser": "Mozilla/5.0 (Windows NT 10.0; WOW64) …",
"browser_lang": "en-US",
"time_zone": "8",
"resolution": "1920x1080",
"cookie_new": "billing_country=US&shopper_email=test@ company.com&time_zone=.... ",
"cookie_old": "billing_country=US&shopper_email=test@ company.com&time_zone=.... ",
"challenge_window_size": "01",
"session_id": "",
"delivery_firstname": "Li",
"delivery_lastname": "Han",
"delivery_country": "CN",
"delivery_state": "FJ",
"delivery_city": "Xiamen",
"delivery_address": "3610 Brighton Circle Road",
"delivery_postal_code": "56376",
"custom": "",
"installments": "",
"installments_id": "",
"device_fingerprint": "",
"encryption_data": "003b48322659ff3be45f33135f9f46dc6edcf6e911100dfd925299c6b79e26f2",
"platform_source": "Shopify",
"device_type": "PC",
"order_type": "WEB",
"checkout_time": 1415273168,
"user_agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36",
"forter_token_cookie": "",
"cart_items": [
{
"basic_item_data": {
"name": "Tanya Langosh V",
"quantity": "19",
"type": "veniam ea dolore",
"price": {
"amount_usd": 341.99,
"amount_local_currency": 962.39,
"currency": "RON"
},
"category": "velit in exercitation incididunt",
"productId": "tempor nostrud"
}
},
{
"basic_item_data": {
"name": "Vicky Muller",
"quantity": "19",
"type": "elit eu aliqua ad mollit",
"price": {
"amount_usd": 911.79,
"amount_local_currency": 973.19,
"currency": "UYU"
},
"category": "pariatur in",
"productId": "cillum min"
}
}
],
"account_owner": [
{
"first_name": "Aditya",
"last_name": "Macejkovic",
"email": "Sydnie84@gmail.com",
"account_id": "aliquip",
"created": 65540588.10937965,
"past_orders_count": 26710687.666394636,
"past_orders_sum": -18973407.709439844,
"lastLogin_ip": "bbd5:0dab:9af3:83b9:adcd:9c8d:f36b:8fee",
"registration_ip": "152.207.3.206"
}
],
"total_discount": [
{
"coupon_code_used": "56",
"discount_type": "nostrud in aliq"
},
{
"coupon_code_used": "43",
"discount_type": "commodo dolore est cup"
},
{
"coupon_code_used": "51",
"discount_type": "culpa est"
}
],
"additional_information": [
{
"mpi_info": {
"eci": "",
"cavv": "dolor exercitation incididunt id",
"xid": "minim",
"dsTransID": "occaecat ex ut proide"
}
},
{
"mpi_info": {
"eci": "",
"cavv": "incididunt velit id",
"xid": "ullamco incididunt sit Excepteur",
"dsTransID": "in amet incididunt dolor"
}
}
],
"price_id": "695.95",
"quote_id": "",
"quote_price": "873.35",
"color_depth": "test",
"storefront_domains": "mealy-onset.info",
"subscription": {
"contract": "in consequat",
"contract_name": "Vickie Windler",
"contract_amount": "321.99",
"interval": "day",
"interval_count": "aliquip",
"billing_cycle": 72751013,
"promotion_cycle": 77462921,
"contract_start": "elit tempo",
"contract_end": "ir",
"price_id": "100.69"
}
}'
Responses
🟢200OK
application/xml
Body
merchant_id
string
optional
<= 7 characters
account_id
string
optional
<= 10 characters
transaction_id
string
optional
<= 64 characters
order_no
string
optional
<= 50 characters
amount
string
optional
<= 15 characters
card
string
optional
<= 20 characters
threeds_result
string
optional
--Cardholder authenticated
---Failed
---Authentication offered but not used
---Unable to Complete Authentication
<= 100 characters
order_status
string
optional
-3: Payment canceled by shopper
-2: Waiting for review
-1: Waiting for process
0: Failed
1: Succeed
<= 10 characters
result_info
string
optional
<= 200 characters
payment_method
string
optional
<= 50 characters
return_type
string
optional
2: Real-time return from the server
3: Asynchronous return from the server
<= 10 characters
note
string
optional
<= 1000 characters
first_name
string
optional
<= 1000 characters
last_name
string
optional
<= 50 characters
billing_address
string
optional
-Returl Null if payment is failed
<= 50 characters
billing_city
string
optional
<= 100 characters
billing_state
string
optional
<= 100 characters
billing_country
string
optional
<= 2 characters
billing_postal_code
string
optional
<= 100 characters
billing_phone
string
optional
<= 50 characters
billing_email
string
optional
<= 100 characters
connector
string
optional
<= 50 characters
contract_name
string
optional
<= 2000 characters
recurring_id
string
optional
<= 50 characters
recurring_deduction_period
integer
optional
recurring_deduction_time
string
optional
<= 20 characters
encryption_data
string
optional
encryption_data=sha256(merchant_id + account_id +order_no + currency +amount + first_name + last_name + card + expiration_year + expiration_month+ security_code + shopper_email + sign_key);
All encryption parameters need to remove spaces before encryption.
<= 64 characters
Example
<html>
<head>
<title>Payment Loading...</title>
</head>
<body onload="fun_onload_event();">
<form name="theForm" id="shoplazz" method="POST" action="https://test-api.star-saas.com/v1/checkout">
<input type="hidden" name="gbc_id" value="126301" />
<input type="hidden" name="connector_code" value="RISINGPAY" />
<input type="hidden" name="account_name" value="default" />
<input type="hidden" name="webSite" value="" />
<input type="hidden" name="pm_id" value="8" />
<input type="hidden" name="apm_type" value="MIX" />
<input type="hidden" name="descriptor" value="star-saas" />
<input type="hidden" name="orderprefix" value="C" />
<input type="hidden" name="rrtimezone" value="+0000" />
<input type="hidden" name="ordernumlength" value="12" />
<input type="hidden" name="sendbgoods" value="0" />
<input type="hidden" name="replacename" value="null" />
<input type="hidden" name="send_bank_website" value="test-star-saas.com" />
<input type="hidden" name="replace_up_id" value="701" />
<input type="hidden" name="replace_match_address" value="0" />
<input type="hidden" name="to_pass_page" value="true" />
</form>
<script language="Javascript">
function fun_onload_event()
{
var shoplazzElement = document.getElementById('shoplazz');
var inputEle = document.createElement('input');
inputEle.name = `insurance`;
inputEle.type = 'hidden';
inputEle.value = `1.00`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shopper_phone`;
inputEle.type = 'hidden';
inputEle.value = `13012345678`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `country`;
inputEle.type = 'hidden';
inputEle.value = `CN`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `delivery_address`;
inputEle.type = 'hidden';
inputEle.value = `3610 Brighton Circle Road`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `signInfo`;
inputEle.type = 'hidden';
inputEle.value = `003b48322659ff3be45f33135f9f46dc6edcf6e911100dfd925299c6b79e26f2`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `APMType`;
inputEle.type = 'hidden';
inputEle.value = ``
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `taxTotal`;
inputEle.type = 'hidden';
inputEle.value = `1.00`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `price_id`;
inputEle.type = 'hidden';
inputEle.value = ``
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `discount`;
inputEle.type = 'hidden';
inputEle.value = `1.00`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `billing_address`;
inputEle.type = 'hidden';
inputEle.value = `3610 Brighton Circle Road`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `device_type`;
inputEle.type = 'hidden';
inputEle.value = `PC`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shipping`;
inputEle.type = 'hidden';
inputEle.value = `1.00`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `token_id`;
inputEle.type = 'hidden';
inputEle.value = ``
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `merNo`;
inputEle.type = 'hidden';
inputEle.value = `701001`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `source_request_ip`;
inputEle.type = 'hidden';
inputEle.value = `39.109.216.11`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `default_lang`;
inputEle.type = 'hidden';
inputEle.value = `en_US`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `open3d`;
inputEle.type = 'hidden';
inputEle.value = `do3DS`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `allParams`;
inputEle.type = 'hidden';
inputEle.value = `insurance=1.00&country=CN&signInfo=003b48322659ff3be45f33135f9f46dc6edcf6e911100dfd925299c6b79e26f2&gbc_id=null&APMType=&billing_street_number=null&taxTotal=1.00&discount=1.00&delivery_street_number=null&cardNo=null&cardSecurityCode=null&merNo=701001&state=FJ&zip=56376&orderNo=1731480073283&orderCurrency=USD&shipZip=56376&timeZone=null&shipFirstName=Li&firstName=Milton&cpfNumber=null&itemTotal=10.00&phone=13012345678&shipState=FJ¬ifyUrl=https://test-api.star-saas.com/v1/pages/NotifyResult.jsp&shippingDiscount=1.00&shipLastName=Han&goodsInfo=huawei#,#NUM1#,#230.00#,#1#;#Test2#,#NUM2#,#290.00#,#2&cardExpireMonth=null&defaultLang=en_US&lastName=Braganza&verifyBillingAddress=YES&cardExpireYear=null&city=Xiamen&remark=&shipFee=1.00&newCookie=null&shipCountry=CN&billing_district_name=null&webSite=null&paymentToken=&orderAmount=10.36&oldCookie=null&delivery_district_name=null&merSendLogoNo=1&returnUrl=https://test-api.star-saas.com/v1/pages/PayResult.jsp&email=apidog@gmail.com&user_agent=null&shipCity=Xiamen&shopperLevel=1&address=3610 Brighton Circle Road&gatewayNo=701001021&referenceNo=null&shopperId=apidog1&custom=&cardType=&token=NO&shipAddress=3610 Brighton Circle Road&browerLang=null&cancelUrl=https://test-api.star-saas.com/v1/pages/PayResult.jsp&isOpen3D=do3DS&handling=1.00&`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `state`;
inputEle.type = 'hidden';
inputEle.value = `FJ`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `payment_method`;
inputEle.type = 'hidden';
inputEle.value = ``
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `zip`;
inputEle.type = 'hidden';
inputEle.value = `56376`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `orderNo`;
inputEle.type = 'hidden';
inputEle.value = `1731480073283`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `orderCurrency`;
inputEle.type = 'hidden';
inputEle.value = `USD`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shipZip`;
inputEle.type = 'hidden';
inputEle.value = `56376`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `delivery_postal_code`;
inputEle.type = 'hidden';
inputEle.value = `56376`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `quote_id`;
inputEle.type = 'hidden';
inputEle.value = ``
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `item_total`;
inputEle.type = 'hidden';
inputEle.value = `10.00`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `delivery_state`;
inputEle.type = 'hidden';
inputEle.value = `FJ`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shipFirstName`;
inputEle.type = 'hidden';
inputEle.value = `Li`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `billing_city`;
inputEle.type = 'hidden';
inputEle.value = `Xiamen`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `firstName`;
inputEle.type = 'hidden';
inputEle.value = `Milton`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `itemTotal`;
inputEle.type = 'hidden';
inputEle.value = `10.00`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `phone`;
inputEle.type = 'hidden';
inputEle.value = `13012345678`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shipState`;
inputEle.type = 'hidden';
inputEle.value = `FJ`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `notifyUrl`;
inputEle.type = 'hidden';
inputEle.value = `https://test-api.star-saas.com/v1/pages/NotifyResult.jsp`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shopper_email`;
inputEle.type = 'hidden';
inputEle.value = `apidog@gmail.com`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shippingDiscount`;
inputEle.type = 'hidden';
inputEle.value = `1.00`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `items`;
inputEle.type = 'hidden';
inputEle.value = `huawei#,#NUM1#,#230.00#,#1#;#Test2#,#NUM2#,#290.00#,#2`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `cancel_url`;
inputEle.type = 'hidden';
inputEle.value = `https://test-api.star-saas.com/v1/pages/PayResult.jsp`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shipLastName`;
inputEle.type = 'hidden';
inputEle.value = `Han`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `goodsInfo`;
inputEle.type = 'hidden';
inputEle.value = `huawei#,#NUM1#,#230.00#,#1#;#Test2#,#NUM2#,#290.00#,#2`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `defaultLang`;
inputEle.type = 'hidden';
inputEle.value = `en_US`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `order_no`;
inputEle.type = 'hidden';
inputEle.value = `1731480073283`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `note`;
inputEle.type = 'hidden';
inputEle.value = ``
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `lastName`;
inputEle.type = 'hidden';
inputEle.value = `Braganza`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `verifyBillingAddress`;
inputEle.type = 'hidden';
inputEle.value = `YES`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `tax_total`;
inputEle.type = 'hidden';
inputEle.value = `1.00`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `city`;
inputEle.type = 'hidden';
inputEle.value = `Xiamen`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `encryption_data`;
inputEle.type = 'hidden';
inputEle.value = `003b48322659ff3be45f33135f9f46dc6edcf6e911100dfd925299c6b79e26f2`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `remark`;
inputEle.type = 'hidden';
inputEle.value = ``
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shipFee`;
inputEle.type = 'hidden';
inputEle.value = `1.00`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `merchant_id`;
inputEle.type = 'hidden';
inputEle.value = `701001`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shipCountry`;
inputEle.type = 'hidden';
inputEle.value = `CN`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `quote_price`;
inputEle.type = 'hidden';
inputEle.value = ``
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `paymentToken`;
inputEle.type = 'hidden';
inputEle.value = ``
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `billing_postal_code`;
inputEle.type = 'hidden';
inputEle.value = `56376`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `source_notify_url`;
inputEle.type = 'hidden';
inputEle.value = `https://test-api.star-saas.com/v1/pages/NotifyResult.jsp`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `orderAmount`;
inputEle.type = 'hidden';
inputEle.value = `10.36`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `delivery_firstname`;
inputEle.type = 'hidden';
inputEle.value = `Li`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `billing_state`;
inputEle.type = 'hidden';
inputEle.value = `FJ`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `return_url`;
inputEle.type = 'hidden';
inputEle.value = `https://test-api.star-saas.com/v1/pages/PayResult.jsp`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `currency`;
inputEle.type = 'hidden';
inputEle.value = `USD`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `merSendLogoNo`;
inputEle.type = 'hidden';
inputEle.value = `1`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `verify_billing_address`;
inputEle.type = 'hidden';
inputEle.value = `YES`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `returnUrl`;
inputEle.type = 'hidden';
inputEle.value = `https://test-api.star-saas.com/v1/pages/PayResult.jsp`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `first_name`;
inputEle.type = 'hidden';
inputEle.value = `Milton`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `email`;
inputEle.type = 'hidden';
inputEle.value = `apidog@gmail.com`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `delivery_lastname`;
inputEle.type = 'hidden';
inputEle.value = `Han`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `delivery_country`;
inputEle.type = 'hidden';
inputEle.value = `CN`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shipCity`;
inputEle.type = 'hidden';
inputEle.value = `Xiamen`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `amount`;
inputEle.type = 'hidden';
inputEle.value = `10.36`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `platform_source`;
inputEle.type = 'hidden';
inputEle.value = `Shopify`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shopperLevel`;
inputEle.type = 'hidden';
inputEle.value = `1`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `address`;
inputEle.type = 'hidden';
inputEle.value = `3610 Brighton Circle Road`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `logo_name`;
inputEle.type = 'hidden';
inputEle.value = `1`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `gatewayNo`;
inputEle.type = 'hidden';
inputEle.value = `701001021`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shopperId`;
inputEle.type = 'hidden';
inputEle.value = `apidog1`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `custom`;
inputEle.type = 'hidden';
inputEle.value = ``
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `billing_country`;
inputEle.type = 'hidden';
inputEle.value = `CN`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `cardType`;
inputEle.type = 'hidden';
inputEle.value = ``
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `last_name`;
inputEle.type = 'hidden';
inputEle.value = `Braganza`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `card_type`;
inputEle.type = 'hidden';
inputEle.value = ``
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `notify_url`;
inputEle.type = 'hidden';
inputEle.value = `https://test-api.star-saas.com/v1/pages/NotifyResult.jsp`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `token`;
inputEle.type = 'hidden';
inputEle.value = `NO`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shipAddress`;
inputEle.type = 'hidden';
inputEle.value = `3610 Brighton Circle Road`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shopper_level`;
inputEle.type = 'hidden';
inputEle.value = `1`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `cancelUrl`;
inputEle.type = 'hidden';
inputEle.value = `https://test-api.star-saas.com/v1/pages/PayResult.jsp`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `account_id`;
inputEle.type = 'hidden';
inputEle.value = `701001021`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shipping_discount`;
inputEle.type = 'hidden';
inputEle.value = `1.00`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `token_flag`;
inputEle.type = 'hidden';
inputEle.value = `NO`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `isOpen3D`;
inputEle.type = 'hidden';
inputEle.value = `do3DS`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `shopper_id`;
inputEle.type = 'hidden';
inputEle.value = `apidog1`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `color_depth`;
inputEle.type = 'hidden';
inputEle.value = `24`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `handling`;
inputEle.type = 'hidden';
inputEle.value = `1.00`
shoplazzElement.appendChild(inputEle);
var inputEle = document.createElement('input');
inputEle.name = `delivery_city`;
inputEle.type = 'hidden';
inputEle.value = `Xiamen`
shoplazzElement.appendChild(inputEle);
document.theForm.submit();
}
</script>
</body>
</html>
🟠404Record not found
🟠400Invalid input