EagleCafe.Net

Introduction for Shop

For Testing - CLICK Join_Member

1. Case A * When customers use their own EPointS in a Shop.

[ Parameter - Case A ]

No VarName TypeMaxlengthMemo
1 fromID string50POST, email-ID (of customer)
2 toID string50POST, email-ID (of shop)
3 amt string50POST, EPoints (ex: 123456.789)
4 returnURL string256POST, Eaglecafe.Net returns the result to this address
5 returnNo string50POST, request_number (is Unique)
6 url_signature string1024POST, $url_signature, OPENSSL_ALGO_SHA512
(in PHP)

$url_signature = "";
$sendmsg = $fromID. $toID. $amt. $returnURL. $returnNo;
$privkey2 = openssl_pkey_get_private($private_key, $pwd);
openssl_sign($sendmsg, $url_signature, $privkey2, OPENSSL_ALGO_SHA512);
$url_signature = urlencode($url_signature );

( conf. Source Code in PHP : example_01 )

Send to this Server URL : http://eaglecafe.net/ecn/test_epoint/shop_page_01_form.php


[ Return - Case A ]

No VarName TypeMaxlengthMemo
1 msg string50GET, return Message & returnNo
ex 1) http://returnURL?msg=OK_(12345)
ex 2) http://returnURL?msg=fromID_error_(12345)

2. Case B * When the Shop pays EPointS to the customer.

[ Parameter - Case B ]

No VarName TypeMaxlengthMemo
1 fromID string50POST, email-ID (of shop)
2 toID string50POST, email-ID (of customer)
3 amt string50POST, EPoints (ex: 123456.789)
4 returnURL string256POST, Eaglecafe.Net returns the result to this address
5 returnNo string50POST, request_number (is Unique)
6 url_signature string1024POST, $url_signature, OPENSSL_ALGO_SHA512
(in PHP)

$url_signature = "";
$sendmsg = $fromID. $toID. $amt. $returnURL. $returnNo;
$privkey2 = openssl_pkey_get_private($private_key, $pwd);
openssl_sign($sendmsg, $url_signature, $privkey2, OPENSSL_ALGO_SHA512);
$url_signature = urlencode($url_signature );

( conf. Source Code in PHP : example_02 )

Send to this Server URL : http://eaglecafe.net/ecn/test_epoint/shop_page_02_form.php


[ Return - Case B ]

No VarName TypeMaxlengthMemo
1 msg string50GET, return Message & returnNo
ex 1) http://returnURL?msg=OK_(12345)
ex 2) http://returnURL?msg=fromID_error_(12345)










Introduction for Shop

Event

QnA

My Point

Send Point

EaglePointS

Home