Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 598 Bytes

README_en.md

File metadata and controls

25 lines (17 loc) · 598 Bytes

B.app Resource Storage SDK for PHP

To visit your AppKey and AppSecret, you can click here and read more.

Create Order

$app = new BappPhpSdk($yourAppKey, $yourAppSecret);
$app->create_order('ThisIsOrderId', 1, 'php-sdk sample', 'https://sdk.b.app/api/test/notify/test', 'https://github.com');

Get order detail from the B.app server

$app = new BappPhpSdk($yourAppKey, $yourAppSecret);
$app->get_order('yourOrderId');

Check the sign

$app = new BappPhpSdk($yourAppKey, $yourAppSecret);
$app->is_sign_ok($params);