Skip to content

Commit

Permalink
Add Payconiq payment method
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Jul 19, 2024
1 parent 8ed5858 commit eda726e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/images/payconiq.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions src/PaymentMethods/Payconiq.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

declare(strict_types=1);

namespace Mollie\WooCommerce\PaymentMethods;

class Payconiq extends AbstractPaymentMethod implements PaymentMethodI
{
protected function getConfig(): array
{
return [
'id' => 'payconiq',
'defaultTitle' => __('payconiq', 'mollie-payments-for-woocommerce'),
'settingsDescription' => '',
'defaultDescription' => '',
'paymentFields' => false,
'instructions' => false,
'supports' => ['products'],
'filtersOnBuild' => false,
'confirmationDelayed' => false,
'SEPA' => false,
];
}

public function getFormFields($generalFormFields): array
{
return $generalFormFields;
}
}
1 change: 1 addition & 0 deletions src/Shared/SharedDataDictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class SharedDataDictionary
'Mollie_WC_Gateway_Twint',
'Mollie_WC_Gateway_Bancomatpay',
'Mollie_WC_Gateway_Alma',
'Mollie_WC_Gateway_Payconiq',
];

public const MOLLIE_OPTIONS_NAMES = [
Expand Down

0 comments on commit eda726e

Please sign in to comment.