docs.rs failed to build alipay-global-0.1.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
alipay-global-0.1.4
Alipay Global
use Alipay Global without any pain.
Getting Started
# add this line to your Cargo.toml
[dependencies]
alipay-global = "0.1"
Example
use cashier_payment;
use *;
use PathBuf;
// load client id and private pem key from environment for test purpose
let client_id = var.expect;
let private_key_pem_path = var.expect;
// Client secret object contains all the information regarding your Alipay Global Account
let secret = AlipayClientSecret ;
// CashierPayment Object contains order info
let p = CashierPaymentSimple ;
// Call the API
let r = cashier_payment;