我是使用支付网关的新手。我必须在我的应用中使用Zooz。
我们的客户将为Zooz创建一个帐户。
请告诉我我需要向客户询问哪些Zooz帐户需要在应用程序中使用。像APP键一样,我还需要询问表单客户端吗?将在代码中使用。
最佳答案
尝试这个
invoiceRefNumber是您的系统会计发票编号,用于
仅跟踪,我们的系统未使用。
appKey-是您在注册时从我们那里收到的应用程序密钥
创建付款请求并打开付款对话框。
-(IBAction)pay{
ZooZ * zooz = [ZooZ sharedInstance];
zooz.sandbox = YES;//set this if working in Sandbox mode
ZooZPaymentRequest * req =
[zooz createPaymentRequestWithTotal:32.1 invoiceRefNumber:@"1234" delegate:self];
req.currencyCode = @"USD";
[zooz openPayment:req forAppKey:@"app_id"];
}