Skip to content

The parameter payment_method_options[blik][code] is required. #1798

Open
@Guihal

Description

Describe the bug

I'm still trying to do the blik payment method in woocomerce. With js the payment is confirmed with the SAME BODY(without payment method) that I send to your api. Everything is done in test mode, the code is received correctly ('666666'), everything is done according to your documentation.

To Reproduce

Trying to confirm PaymentIntent

Expected behavior

That the payment will be confirmed. And stripe support doesn't answer anything about it.

Code snippets

$confirmed = $intent->confirm(
                $intent->id,
                [
                    'payment_method' => $this->payment_method->id,
                    'payment_method_options' => [
                        'blik' => [
                            'code' => $code,
                        ],
                    ]
                ]
            );

OS

linux

PHP version

8.1

Library version

last

API version

last

Additional context

Thank you for your response!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions