Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为啥你的addPayment:success没有成功回调呢? #20

Open
liuzhao opened this issue Jun 5, 2020 · 1 comment
Open

为啥你的addPayment:success没有成功回调呢? #20

liuzhao opened this issue Jun 5, 2020 · 1 comment

Comments

@liuzhao
Copy link

liuzhao commented Jun 5, 2020

[[XYStore defaultStore] addPayment:productId
success:^(SKPaymentTransaction *transaction)
{

} failure:^(SKPaymentTransaction *transaction, NSError *error) {

}];

购买流程很顺利,可以购买,断点也能进入你的代码里每个方法,但是为啥就是调用的地方success不回调呢?

@550372936
Copy link

[[XYStore defaultStore] addPayment:productId
success:^(SKPaymentTransaction *transaction)
{

} failure:^(SKPaymentTransaction *transaction, NSError *error) {

}];

购买流程很顺利,可以购买,断点也能进入你的代码里每个方法,但是为啥就是调用的地方success不回调呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants