【发布时间】:2019-03-21 06:16:31
【问题描述】:
我使用此代码,当我删除 OrderId:“21071”这个时,这是工作完成的付款,但我想使用 OrderId:“21071”,这是“21071”我的网站订单 ID,客户从我的网站下订单。
ChargeRequest body = new ChargeRequest(AmountMoney: amount, IdempotencyKey: uuid, CardNonce: nonce, BillingAddress: address, ShippingAddress: address, BuyerEmailAddress: txtEmail.Text, ReferenceId: "Booking #:" + bookingid, Note: bookingid, OrderId: "21071");
ChargeResponse response = transactionsApi.Charge(LocationId, body);
我遇到了这个错误
Error calling Charge: {"errors":[{"category":"INVALID_REQUEST_ERROR","code":"NOT_FOUND","detail":"Resource not found.","field":"order_id"}]}
当我使用没有 Orderid 的 Orderid 时出现错误,它工作正常,但我想使用 Orderid
【问题讨论】:
标签: asp.net-mvc asp.net-web-api paypal payment-gateway square-connect