0

我想为我的用户进行单笔付款。我已经为 sdk 和 curl 尝试过沙箱。我收到状态为待处理的批处理标头响应。我已经检查了两个帐户,它显示交易已完成。但我收到以下回复。

stdClass Object
(
    [batch_header] => stdClass Object
        (
            [payout_batch_id] => MFAW63MEMBDB8
            **[batch_status] => PENDING**
            [sender_batch_header] => stdClass Object
                (
                    [email_subject] => SDK payouts test txn
                )

        )

    [links] => Array
        (
            [0] => stdClass Object
                (
                    [href] => https://api.sandbox.paypal.com/v1/payments/payouts/MFAW63MEMBDB8
                    [rel] => self
                    [method] => GET
                    [encType] => application/json
                )

        )

)
4

1 回答 1

0

付款分批运行,开始时为待处理。您可以稍后查询批处理的状态,或者为一些相关事件注册一个 webhook 事件监听器:

https://developer.paypal.com/docs/api-basics/notifications/webhooks/event-names/#batch-payouts

于 2020-07-10T15:16:26.553 回答