【发布时间】:2014-10-31 06:59:13
【问题描述】:
我正在使用 ASP.NET 开发它,并且我使用了 Stripe.NET dll,根据我已将我的 shopkeeper stripe 帐户与我关联并获得访问代码的文档。
现在我对我的客户感到困惑,应该将他添加为 shopkeeper 的 Stripe 帐户中的客户,或者只是将他的帐户作为 Shopkeepers 与我的 Stripe 帐户相关联。
谁能解释一下,它是如何工作的?
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);
buyerPaymentInfo.StripeCustomerToken 将是访问代码还是在供应商帐户中注册的客户?
我想用他的信用卡向客户收费
我们将非常感谢您的帮助。
【问题讨论】:
标签: c# asp.net stripe-payments stripe.net