Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2023-11-17T05:45:36+00:00 INFO Action: Create Order
- 2023-11-17T05:45:36+00:00 INFO Request URL: https://api-m.sandbox.paypal.com/v2/checkout/orders/
- 2023-11-17T05:45:36+00:00 INFO Request Body: Array
- (
- [intent] => AUTHORIZE
- [application_context] => Array
- (
- [brand_name] => PPCP
- [locale] => en-US
- [landing_page] => NO_PREFERENCE
- [shipping_preference] => NO_SHIPPING
- [user_action] => CONTINUE
- )
- [payment_method] => Array
- (
- [payee_preferred] => UNRESTRICTED
- )
- [purchase_units] => Array
- (
- [0] => Array
- (
- [reference_id] => wc_order_Y03jakhyLO2os
- [amount] => Array
- (
- [currency_code] => USD
- [value] => 100.00
- [breakdown] => Array
- (
- [item_total] => Array
- (
- [currency_code] => USD
- [value] => 100.00
- )
- )
- )
- [invoice_id] => wc_order_Y03jakhyLO2os
- [custom_id] => wc_order_Y03jakhyLO2os
- [soft_descriptor] => PPCP
- [payee] => Array
- (
- [merchant_id] => EYQ22WLX6GNLY
- )
- [items] => Array
- (
- [0] => Array
- (
- [name] => Belt
- [sku] => woo-belt
- [category] => PHYSICAL_GOODS
- [quantity] => 1
- [unit_amount] => Array
- (
- [currency_code] => USD
- [value] => 100.00
- )
- )
- )
- )
- )
- )
- 2023-11-17T05:45:36+00:00 INFO Response Headers: Array
- (
- [paypal-debug-id] => 2ea4acea683a4
- )
- 2023-11-17T05:45:36+00:00 INFO Response Body: Array
- (
- [id] => 1CN041966M020771N
- [intent] => AUTHORIZE
- [status] => CREATED
- [purchase_units] => Array
- (
- [0] => Array
- (
- [reference_id] => wc_order_Y03jakhyLO2os
- [amount] => Array
- (
- [currency_code] => USD
- [value] => 100.00
- [breakdown] => Array
- (
- [item_total] => Array
- (
- [currency_code] => USD
- [value] => 100.00
- )
- )
- )
- [payee] => Array
- (
- [merchant_id] => EYQ22WLX6GNLY
- )
- [custom_id] => wc_order_Y03jakhyLO2os
- [invoice_id] => wc_order_Y03jakhyLO2os
- [soft_descriptor] => PPCP
- [items] => Array
- (
- [0] => Array
- (
- [name] => Belt
- [unit_amount] => Array
- (
- [currency_code] => USD
- [value] => 100.00
- )
- [quantity] => 1
- [sku] => woo-belt
- [category] => PHYSICAL_GOODS
- )
- )
- )
- )
- [create_time] => 2023-11-17T05:45:34Z
- [links] => Array
- (
- [0] => Array
- (
- [href] => https://api.sandbox.paypal.com/v2/checkout/orders/1CN041966M020771N
- [rel] => self
- [method] => GET
- )
- [1] => Array
- (
- [href] => https://www.sandbox.paypal.com/checkoutnow?token=1CN041966M020771N
- [rel] => approve
- [method] => GET
- )
- [2] => Array
- (
- [href] => https://api.sandbox.paypal.com/v2/checkout/orders/1CN041966M020771N
- [rel] => update
- [method] => PATCH
- )
- [3] => Array
- (
- [href] => https://api.sandbox.paypal.com/v2/checkout/orders/1CN041966M020771N/authorize
- [rel] => authorize
- [method] => POST
- )
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement