【发布时间】:2021-05-09 18:41:07
【问题描述】:
在我的 laravel 应用程序中,我将数据发送给邮递员,如下所示:
array:8 [▼
"items" => array:1 [▼
0 => array:4 [▼
"name" => "PWN Netherlands: Building a D&I foundation through mentoring, coaching & sponsorship"
"price" => 122222
"qty" => 1
"event_id" => 1
]
]
"return_url" => "http://localhost:8000/paypal/ec-checkout-success"
"invoice_id" => "_6"
"item_number" => 22
"custom" => 33
"invoice_description" => "PWN Netherlands: Building a D&I foundation through mentoring, coaching & sponsorship"
"cancel_url" => "http://localhost:8000"
"total" => 122222
]
所以我发送item_number 和custom 字段但付款后我得到它只是token 和playerId 如下所示:
array:2 [▼
"token" => "EC-4DA935906T0704531"
"PayerID" => "QQN222QZK25CA"
]
【问题讨论】: