cancel
Showing results for 
Search instead for 
Did you mean: 

Webhook

Contributor

Webhook

What webhook method is called when you pay with this code?

$params = [

    'method' => 'paypal',

    'intent' => 'sale',

    'order' => [

        'description' => 'Payment description',

        'subtotal' => 44,

        'shippingCost' => 0,

        'total' => 44,

        'currency' => 'USD',

        'items' => [

            [

                'name' => 'Item one',

                'price' => 44,

                'quantity' => 1,

                'currency' => 'USD'

            ]

        ]

    ]

];