2
我有一個web應用程序正在通過oauth監聽他們連接到的帳戶的webhook,並且出於某種原因,每個進入的webhook都沒有user_id
屬性。Stripe Webhook不返回user_id
{
id: 'evt_18USWeLQuocIBkVl4x3RYTYn',
object: 'event',
api_version: '2016-06-15',
created: 1467859564,
data:
{ object:
{ id: 'ch_18USWdLQuocIBkVlfev2xN9n',
object: 'charge',
amount: 300,
amount_refunded: 0,
application_fee: null,
balance_transaction: 'txn_18USWeLQuocIBkVlYKlhfYl7',
captured: true,
created: 1467859563,
currency: 'usd',
customer: null,
description: '',
destination: null,
dispute: null,
failure_code: null,
failure_message: null,
fraud_details: {},
invoice: null,
livemode: false,
metadata: {},
order: null,
paid: true,
receipt_email: null,
receipt_number: null,
refunded: false,
refunds: [Object],
shipping: null,
source: [Object],
source_transfer: null,
statement_descriptor: null,
status: 'succeeded' } },
livemode: false,
pending_webhooks: 2,
request: 'req_8m0X3GgVB7IWpM',
type: 'charge.succeeded'
}
有點遲了,但這是問題。我誤解了文檔。非常感謝 – Luca