- 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 APM 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/xml
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 + return_url+ 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
year
<= 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
optional
<= 50 characters
Example
<?xml version="1.0" encoding="UTF-8"?>
<root>
<merchant_id>701001</merchant_id>
<account_id>701001010</account_id>
<order_no>1726891254563</order_no>
<currency>USD</currency>
<amount>10.36</amount>
<item_total>10.00</item_total>
<shipping>1.00</shipping>
<handling>1.00</handling>
<tax_total>1.00</tax_total>
<insurance>1.00</insurance>
<shipping_discount>1.00</shipping_discount>
<discount>1.00</discount>
<items>huawei#,#NUM1#,#230.00#,#1#;#Test2#,#NUM2#,#290.00#,#2</items>
<note/>
<custom/>
<card_type>string</card_type>
<payment_method>string</payment_method>
<open3d>do3DS</open3d>
<token_flag>NO</token_flag>
<shopper_id>apidog1</shopper_id>
<shopper_email>apidog@gmail.com</shopper_email>
<shopper_phone>13012345678</shopper_phone>
<shopper_level>1</shopper_level>
<default_lang>string</default_lang>
<logo_name>st</logo_name>
<first_name>Milton</first_name>
<last_name>Braganza</last_name>
<billing_country>CN</billing_country>
<billing_city>Xiamen</billing_city>
<billing_state>FJ</billing_state>
<billing_address>3610 Brighton Circle Road</billing_address>
<billing_postal_code>56376</billing_postal_code>
<delivery_firstname>Li</delivery_firstname>
<delivery_lastname>Han</delivery_lastname>
<delivery_country>CN</delivery_country>
<delivery_state>FJ</delivery_state>
<delivery_city>Xiamen</delivery_city>
<delivery_address>3610 Brighton Circle Road</delivery_address>
<delivery_postal_code>56376</delivery_postal_code>
<return_url>string</return_url>
<notify_url>{{webUrl}}/v1/pages/NotifyResult.jsp</notify_url>
<cancel_url>string</cancel_url>
<verify_billing_address>string</verify_billing_address>
<encryption_data>{{sign}}</encryption_data>
<platform_source>Shopify</platform_source>
<device_type>PC</device_type>
<price_id/>
<quote_id>string</quote_id>
<quote_price>string</quote_price>
<color_depth>test</color_depth>
<storefront_domains>string</storefront_domains>
<subscription>
<contract>string</contract>
<contract_name>string</contract_name>
<contract_amount>string</contract_amount>
<interval>day</interval>
<interval_count>string</interval_count>
<billing_cycle>0</billing_cycle>
<promotion_cycle>0</promotion_cycle>
<contract_start>string</contract_start>
<contract_end>string</contract_end>
<price_id>string</price_id>
</subscription>
</root>
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 '<?xml version="1.0" encoding="UTF-8"?>
<root>
<merchant_id>701001</merchant_id>
<account_id>701001010</account_id>
<order_no>1726891254563</order_no>
<currency>USD</currency>
<amount>10.36</amount>
<item_total>10.00</item_total>
<shipping>1.00</shipping>
<handling>1.00</handling>
<tax_total>1.00</tax_total>
<insurance>1.00</insurance>
<shipping_discount>1.00</shipping_discount>
<discount>1.00</discount>
<items>huawei#,#NUM1#,#230.00#,#1#;#Test2#,#NUM2#,#290.00#,#2</items>
<note/>
<custom/>
<card_type>string</card_type>
<payment_method>string</payment_method>
<open3d>do3DS</open3d>
<token_flag>NO</token_flag>
<shopper_id>apidog1</shopper_id>
<shopper_email>apidog@gmail.com</shopper_email>
<shopper_phone>13012345678</shopper_phone>
<shopper_level>1</shopper_level>
<default_lang>string</default_lang>
<logo_name>st</logo_name>
<first_name>Milton</first_name>
<last_name>Braganza</last_name>
<billing_country>CN</billing_country>
<billing_city>Xiamen</billing_city>
<billing_state>FJ</billing_state>
<billing_address>3610 Brighton Circle Road</billing_address>
<billing_postal_code>56376</billing_postal_code>
<delivery_firstname>Li</delivery_firstname>
<delivery_lastname>Han</delivery_lastname>
<delivery_country>CN</delivery_country>
<delivery_state>FJ</delivery_state>
<delivery_city>Xiamen</delivery_city>
<delivery_address>3610 Brighton Circle Road</delivery_address>
<delivery_postal_code>56376</delivery_postal_code>
<return_url>string</return_url>
<notify_url>https://test-api.star-saas.com/v1/pages/NotifyResult.jsp</notify_url>
<cancel_url>string</cancel_url>
<verify_billing_address>string</verify_billing_address>
<encryption_data>{{sign}}</encryption_data>
<platform_source>Shopify</platform_source>
<device_type>PC</device_type>
<price_id/>
<quote_id>string</quote_id>
<quote_price>string</quote_price>
<color_depth>test</color_depth>
<storefront_domains>string</storefront_domains>
<subscription>
<contract>string</contract>
<contract_name>string</contract_name>
<contract_amount>string</contract_amount>
<interval>day</interval>
<interval_count>string</interval_count>
<billing_cycle>0</billing_cycle>
<promotion_cycle>0</promotion_cycle>
<contract_start>string</contract_start>
<contract_end>string</contract_end>
<price_id>string</price_id>
</subscription>
</root>'
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 + transaction_id + order_no + currency + amount + order_status + result_info + 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