贝宝交易执行,不反映在企业帐户中

时间:2018-10-05 11:02:55

标签: paypal paypal-sandbox paypal-rest-sdk paypal-subscriptions

在PayPal订阅交易中,在显示完成的沙箱帐户中执行,一段时间后交易完成并从您的帐户中扣除了款项。

当买家购买时,我如何获得应将其完整地反映在帐户中的信息??

请在交易完成后参考以下内容,以获取答复:

{
    id: 'I-4V918UL7J2SF',
    state: 'Active',
    description: 'Agreement for subscription Plan',
    start_date: '2018-10-05T04:00:00Z',
    payer: {
        payment_method: 'paypal',
        status: 'verified',
        payer_info: {
            email: 'ttest-personal2@gmail.com',
            first_name: 'ttest',
            last_name: 'personal',
            payer_id: 'PA3EFLRD8RQYE',
            shipping_address: [Object]
        }
    },
    shipping_address: {
        recipient_name: 'ttest personal',
        line1: 'Address 1',
        line2: 'Address 2',
        city: 'City',
        state: 'ON',
        postal_code: 'a1b2c3',
        country_code: 'CA'
    },
    plan: {
        payment_definitions: [
            [Object]
        ],
        merchant_preferences: {
            setup_fee: [Object],
            max_fail_attempts: '11',
            auto_bill_amount: 'YES'
        },
        currency_code: 'CAD'
    },
    links: [{
        href: 'https://api.sandbox.paypal.com/v1/payments/billing-agreements/I-4V918UL7J2NF',
        rel: 'self',
        method: 'GET'
    }],
    agreement_details: {
        outstanding_balance: {
            value: '0.00'
        },
        cycles_remaining: '0',
        cycles_completed: '0',
        next_billing_date: '2018-10-05T10:00:00Z',
        final_payment_date: '1970-01-01T00:00:00Z',
        failed_payment_count: '0'
    },
    httpStatusCode: 200
}

0 个答案:

没有答案