Skip to content

Commit

Permalink
Add alma payment method
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Apr 26, 2024
1 parent a951d16 commit f2223df
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/PaymentMethods/Alma.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

declare(strict_types=1);

namespace Mollie\WooCommerce\PaymentMethods;

class Alma extends AbstractPaymentMethod implements PaymentMethodI
{
protected function getConfig(): array
{
return [
'id' => 'alma',
'defaultTitle' => __('Alma', '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;
}
}

0 comments on commit f2223df

Please sign in to comment.