0
我正在開發這個使用ASP.NET,我已經使用了Stripe.NET dll,根據我已經鏈接了我的店主條紋賬戶和獲得訪問代碼的文檔。使用Stripe Connect代表店主收取客戶費用?
現在我對我的顧客感到困惑,他應該作爲顧客添加到店主的條紋賬戶中,或者只是他的賬戶與Shopkeepers的條紋賬戶相關聯。
任何人都可以請解釋一下,它將如何工作?
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將會是訪問代碼還是客戶在供應商帳戶中註冊?
我想用他的信用卡收費客戶
您的幫助將不勝感激。