Ios 使用SDK传递到Square应用程序时不显示注释
为什么在处理付款时,Ios 使用SDK传递到Square应用程序时不显示注释,ios,objective-c,square-connect,Ios,Objective C,Square Connect,为什么在处理付款时,注释不会显示在Square应用程序中?请参见下面的屏幕截图。下面是我用来调用Square应用程序的SDK方法 - (void) sdktest { NSURL *const callbackURL = [NSURL URLWithString:@"SomeCallBackURL-Here"]; SCCMoney *const amount = [SCCMoney moneyWithAmountCents:500 currencyCode:@"USD" err
注释
不会显示在Square应用程序中?请参见下面的屏幕截图。下面是我用来调用Square应用程序的SDK方法
- (void) sdktest {
NSURL *const callbackURL = [NSURL URLWithString:@"SomeCallBackURL-Here"];
SCCMoney *const amount = [SCCMoney moneyWithAmountCents:500 currencyCode:@"USD" error:NULL];
[SCCAPIRequest setClientID:SQUARE_PROD_APP_ID];
NSError * error;
SCCAPIRequest *request = [SCCAPIRequest requestWithCallbackURL:callbackURL
amount:amount
userInfoString:@"My User info string"
merchantID:nil
notes:@"My Note"
customerID:nil
supportedTenderTypes:SCCAPIRequestTenderTypeAll
clearsDefaultFees:NO
returnAutomaticallyAfterPayment:YES
error:&error];
[SCCAPIConnection performRequest:request error:&error];
if (error != nil) { NSLog(@"ERROR IN SDKWAY: %@", error.localizedDescription); }
}
但当Square应用程序打开时,显示的是价格。我想向用户展示他们的付费方式
返回时,数据包包括注释
和用户信息字符串
截图:
单击“后退”箭头只会将您带回测试应用程序
此时,在结账流程中,销售点应用程序不会显示有关购买的更多信息,除了价格。如果你想让你的用户看到你正在购买的商品,你应该在你的应用程序中显示它们,然后再切换到Square Point of Sale