/home/kueuepay/public_html/vendor/fakerphp/faker/src/Faker/Provider/pl_PL/Payment.php
<?php

namespace Faker\Provider\pl_PL;

class Payment extends \Faker\Provider\Payment
{
    /**
     * @var array list of Polish banks, source: https://ewib.nbp.pl/
     */
    protected static $banks = [
        '101' => 'Narodowy Bank Polski',
        '102' => 'Powszechna Kasa Oszczędności Bank Polski Spółka Akcyjna',
        '103' => 'Bank Handlowy w Warszawie Spółka Akcyjna',
        '105' => 'ING Bank Śląski Spółka Akcyjna',
        '106' => 'Bank BPH Spółka Akcyjna',
        '109' => 'Santander Bank Polska Spółka Akcyjna',
        '113' => 'Bank Gospodarstwa Krajowego',
        '114' => 'mBank Spółka Akcyjna',
        '116' => 'Bank Millennium Spółka Akcyjna',
        '122' => 'Bank Handlowo-Kredytowy Spółka Akcyjna w Katowicach w likwidacji',
        '124' => 'Bank Polska Kasa Opieki Spółka Akcyjna',
        '132' => 'Bank Pocztowy Spółka Akcyjna',
        '154' => 'Bank Ochrony Środowiska Spółka Akcyjna',
        '158' => 'Mercedes-Benz Bank Polska Spółka Akcyjna',
        '161' => 'SGB-Bank Spółka Akcyjna',
        '168' => 'PLUS BANK Spółka Akcyjna',
        '184' => 'Société Générale Spółka Akcyjna Oddział w Polsce',
        '187' => 'Nest Bank Spółka Akcyjna',
        '189' => 'Pekao Bank Hipoteczny Spółka Akcyjna',
        '191' => 'Deutsche Bank Polska Spółka Akcyjna',
        '193' => 'BANK POLSKIEJ SPÓŁDZIELCZOŚCI SPÓŁKA AKCYJNA',
        '194' => 'Credit Agricole Bank Polska Spółka Akcyjna',
        '195' => 'Idea Bank Spółka Akcyjna',
        '203' => 'BNP Paribas Bank Polska Spółka Akcyjna',
        '212' => 'Santander Consumer Bank Spółka Akcyjna',
        '215' => 'mBank Hipoteczny Spółka Akcyjna',
        '216' => 'Toyota Bank Polska Spółka Akcyjna',
        '219' => 'DNB Bank Polska Spółka Akcyjna',
        '224' => 'Banque PSA Finance Spółka Akcyjna Oddział w Polsce',
        '225' => 'Svenska Handelsbanken AB Spółka Akcyjna Oddział w Polsce',
        '235' => 'BNP Paribas S.A. Oddział w Polsce ',
        '236' => 'Danske Bank A/S Spółka Akcyjna Oddział w Polsce',
        '237' => 'Skandinaviska Enskilda Banken AB (Spółka Akcyjna) - Oddział w Polsce',
        '239' => 'CAIXABANK, S.A. (SPÓŁKA AKCYJNA) ODDZIAŁ W POLSCE',
        '241' => 'Elavon Financial Services Designated Activity Company (Spółka z O.O. o Wyznaczonym Przedmiocie Działalności) Oddział w Polsce',
        '243' => 'BNP Paribas Securities Services Spółka Komandytowo - Akcyjna Oddział w Polsce',
        '247' => 'HAITONG BANK, S.A. Spółka Akcyjna Oddział w Polsce',
        '248' => 'Getin Noble Bank Spółka Akcyjna',
        '249' => 'Alior Bank Spółka Akcyjna',
        '251' => 'Aareal Bank Aktiengesellschaft (Spółka Akcyjna) - Oddział w Polsce',
        '254' => 'Citibank Europe plc (Publiczna Spółka Akcyjna) Oddział w Polsce',
        '255' => 'Ikano Bank AB (publ) Spółka Akcyjna Oddział w Polsce',
        '256' => 'Nordea Bank Abp Spółka Akcyjna Oddział w Polsce',
        '258' => 'J.P. Morgan Europe Limited Spółka z ograniczoną odpowiedzialnością Oddział w Polsce',
        '260' => 'Bank of China (Luxembourg) S.A. Spółka Akcyjna Oddział w Polsce',
        '262' => 'Industrial and Commercial Bank of China (Europe) S.A. (Spółka Akcyjna) Oddział w Polsce',
        '264' => 'RCI Banque Spółka Akcyjna Oddział w Polsce',
        '265' => 'EUROCLEAR Bank SA/NV (Spółka Akcyjna) - Oddział w Polsce',
        '266' => 'Intesa Sanpaolo S.p.A. Spółka Akcyjna Oddział w Polsce',
        '267' => 'Western Union International Bank GmbH, Sp. z o.o. Oddział w Polsce',
        '269' => 'PKO Bank Hipoteczny Spółka Akcyjna',
        '270' => 'TF BANK AB (Spółka z ograniczoną odpowiedzialnością) Oddział w Polsce',
        '271' => 'FCE Bank Spółka Akcyjna Oddział w Polsce',
        '272' => 'AS Inbank Spółka Akcyjna - Oddział w Polsce',
        '273' => 'China Construction Bank (Europe) S.A. (Spółka Akcyjna) Oddział w Polsce',
        '274' => 'MUFG Bank (Europe) N.V. S.A. Oddział w Polsce',
        '275' => 'John Deere Bank S.A. Spółka Akcyjna Oddział w Polsce ',
        '277' => 'Volkswagen Bank GmbH Spółka z ograniczoną odpowiedzialnością Oddział w Polsce',
        '278' => 'ING Bank Hipoteczny Spółka Akcyjna',
        '279' => 'Raiffeisen Bank International AG (Spółka Akcyjna) Oddział w Polsce',
        '280' => 'HSBC France (Spółka Akcyjna) Oddział w Polsce',
        '281' => 'Goldman Sachs Bank Europe SE Spółka Europejska Oddział w Polsce',
        '283' => 'J.P. Morgan AG (Spółka Akcyjna) Oddział w Polsce',
        '284' => 'UBS Europe SE (Spółka Europejska) Oddział w Polsce',
        '285' => 'Banca Farmafactoring S.p.A. Spółka Akcyjna Oddział w Polsce',
        '286' => 'FCA Bank S.p.A. Spółka Akcyjna Oddział w Polsce',
        '287' => 'Bank Nowy BFG Spółka Akcyjna',
        '288' => 'ALLFUNDS BANK S.A.U. (SPÓŁKA AKCYJNA) ODDZIAŁ W POLSCE',
    ];

    /**
     * @example 'Euro Bank SA'
     */
    public static function bank()
    {
        return static::randomElement(static::$banks);
    }

    /**
     * International Bank Account Number (IBAN)
     *
     * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number
     *
     * @param string $prefix      for generating bank account number of a specific bank
     * @param string $countryCode ISO 3166-1 alpha-2 country code
     * @param int    $length      total length without country code and 2 check digits
     *
     * @return string
     */
    public static function bankAccountNumber($prefix = '', $countryCode = 'PL', $length = null)
    {
        return static::iban($countryCode, $prefix, $length);
    }

    protected static function addBankCodeChecksum($iban, $countryCode = 'PL')
    {
        if ($countryCode != 'PL' || strlen($iban) <= 8) {
            return $iban;
        }
        $checksum = 0;
        $weights = [7, 1, 3, 9, 7, 1, 3];

        for ($i = 0; $i < 7; ++$i) {
            $checksum += $weights[$i] * (int) $iban[$i];
        }
        $checksum = $checksum % 10;

        return substr($iban, 0, 7) . $checksum . substr($iban, 8);
    }
}
FAQ

FAQ

1. What is the Kueue Pay Payment Gateway?

The Kueue Pay Payment Gateway is an innovative technology that facilitates seamless and secure transactions between merchants and their customers. It enables businesses to accept debit and credit card payments both online and in physical stores.

2. How does the Kueue Pay Payment Gateway work?

The Kueue Pay Payment Gateway acts as a bridge between a merchant’s website or point-of-sale system and the payment processing network. It securely transmits payment information, authorizes transactions, and provides real-time status updates.

3. What is the advantage of using Kueue Pay’s Developer API?

The Kueue Pay Developer API empowers developers and entrepreneurs to integrate the Kueue Pay Payment Gateway directly into their websites or applications. This streamlines the payment process for customers and provides businesses with a customizable and efficient payment solution.

4. How can I access the Kueue Pay Developer API?

To access the Kueue Pay Developer API, you need to sign up for a developer account on our platform. Once registered, you’ll receive an API key that you can use to authenticate your API requests.

5. What types of transactions can I handle with the Kueue Pay Developer API?

The Kueue Pay Developer API allows you to initiate payments, check the status of payments, and process refunds. You can create a seamless payment experience for your customers while maintaining control over transaction management.

6. Is the Kueue Pay Developer API suitable for my business size and industry?

Yes, the Kueue Pay Developer API is designed to accommodate businesses of varying sizes and industries. Whether you’re a small online store or a large enterprise, our API can be tailored to fit your specific payment needs.

7. How user-friendly is the Kueue Pay Developer API integration process?

The Kueue Pay Developer API is designed with simplicity and ease of use in mind. Our comprehensive documentation, code samples, and developer support resources ensure a smooth integration process for any web platform.

8. Are there any fees associated with using the Kueue Pay Payment Gateway and API?

We offer competitive pricing plans for using the Kueue Pay Payment Gateway and Developer API. Details about fees and pricing tiers can be found on our developer portal.

9. Can I customize the payment experience for my customers using the Kueue Pay API?

Absolutely, the Kueue Pay Developer API offers customization options that allow you to tailor the payment experience to match your brand and user interface. You can create a seamless and cohesive payment journey for your customers.

10. What kind of support is available if I encounter issues during API integration?

We provide dedicated developer support to assist you with any issues or questions you may have during the API integration process. Reach out to our support team at developersupport@NFCPay.com for prompt assistance.

Remember, our goal is to empower your business with a robust and efficient payment solution. If you have any additional questions or concerns, feel free to explore our developer portal or contact our support team.