Skip to content

QuickPay-Callback-Url header is ignored #183

Description

@mthorsdal

When making a post request to /payments/{id}/capture, the additional header QuickPay-Callback-Url seem not to be attached - unless quickpay api ignores it. It insists on falling back to default callback url

$this->quickpay = new QuickPay(
':' . $api_key
[
'QuickPay-Callback-Url' => $callbackUrl
]
);

         // Capture the payment via QuickPay
        $response = $this->quickpay->request->post(
            "/payments/{$cardAuthorization->system_id}/capture",
            [
                'amount' => $validated['amount_in_cents'],
                'raw' => [
                    'synchronized' => $request->query('synchronized', false)
                ]
            ]
        );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions