Skip to content

Commit

Permalink
Merge pull request #934 from mollie/release/PIWOO-533-satispress
Browse files Browse the repository at this point in the history
Add satispay method
  • Loading branch information
mmaymo committed Aug 22, 2024
2 parents 00e888c + 6bacfd8 commit 4aeb49f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/images/satispay.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/Satispay.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 Satispay extends AbstractPaymentMethod implements PaymentMethodI
{
protected function getConfig(): array
{
return [
'id' => 'satispay',
'defaultTitle' => __('Satispay', 'mollie-payments-for-woocommerce'),
'settingsDescription' => '',
'defaultDescription' => '',
'paymentFields' => false,
'instructions' => false,
'supports' => ['products', 'refunds'],
'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 @@ -38,6 +38,7 @@ class SharedDataDictionary
'Mollie_WC_Gateway_Trustly',
'Mollie_WC_Gateway_Payconiq',
'Mollie_WC_Gateway_Riverty',
'Mollie_WC_Gateway_Satispay',
];

public const MOLLIE_OPTIONS_NAMES = [
Expand Down

0 comments on commit 4aeb49f

Please sign in to comment.