[英]Using PayPal Checkout API, the payee is ignored
我一直在嘗試使用 Checkout SDK 設置對沙箱中的第 3 方電子郵件地址的付款。 一切正常,但無論我將其設置為什么,我在請求中根據文檔指定的收款人電子郵件都會被忽略並替換為我的其他默認沙箱帳戶。 有人可以建議我做錯了什么嗎?
這是我正在使用的結構:
$request->body = [
'intent' => 'CAPTURE',
'purchase_units' => [
[
'amount' => [
'value' => $amount,
'currency_code' => $currency
],
'payee' => [
'email' => $payee->paypal_email
],
'description' => 'One-time donation to ' . $payee->name
],
],
'application_context' => [
'cancel_url' => url('donation_error?' . $this->callbackQuery),
'return_url' => url('donation_success?' . $this->callbackQuery)
],
];
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.