Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

147
Views
How can I accept standalone blik payment using stripe

How can I accept payment via polish blik on stripe? According to the documentation, Blik payment should be a standalone payment option

const session = await stripe.checkout.sessions.create({
  payment_method_types: ['card'],
  payment_method_types: ['card', 'blik'],
  line_items: [{
    price_data: {
      currency: 'usd',
      // To accept `blik`, all line items must have currency: pln
      currency: 'pln',
      product_data: {
        name: 'T-shirt',
      },
      unit_amount: 2000,
    },
    quantity: 1,
  }],
  mode: 'payment',
  success_url: 'https://example.com/success',
  cancel_url: 'https://example.com/cancel',
});

when I enter blik in the payment_method_types array I get a typescript error

Type '"blik"' is not assignable to type 'PaymentMethodType'.ts(2322)

Despite that, I tried to create a session as there was an option that silencing TS on one line would do the trick and the checkout session was created, but nothing has happened, no redirect whatsoever, and in the dashboard, I have a session with the status Incomplete and payment method none.

Thanks

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!