我正在使用 ASP.NET 开发它,并且我使用了 Stripe.NET dll,根据我已将我的店主条带帐户与我链接并获得访问代码的文档。
现在我对我的客户感到困惑,他应该被添加为店主的条纹帐户中的客户,或者只是他的帐户作为店主与我的条纹帐户相关联。
谁能解释一下,它将如何工作?
var stripeService = new StripeChargeService(sellerStore.StripeMerchantAccessToken); //The token returned from the above method
var stripeChargeOption = new StripeChargeCreateOptions() {
AmountInCents = amountInCents,
Currency = "usd",
CustomerId = buyerPaymentInfo.StripeCustomerToken,
Description = "Locabal",
ApplicationFeeInCents = locabalsCut
};
var response = stripeService.Create(stripeChargeOption);
buyPaymentInfo.StripeCustomerToken 将是访问代码还是在供应商帐户中注册的客户?
我想用他的信用卡向客户收费
您的帮助将不胜感激。