Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: modmore/Commerce_Payrexx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ab6473e6185850120390bf0e77d0aef4eeb18d23
Choose a base ref
..
head repository: modmore/Commerce_Payrexx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9039bce2964d583e3e751da794675033caa4db2c
Choose a head ref
Showing with 8 additions and 9 deletions.
  1. +6 −6 core/components/commerce_payrexx/composer.lock
  2. +2 −3 core/components/commerce_payrexx/src/Gateways/Gateway.php
12 changes: 6 additions & 6 deletions core/components/commerce_payrexx/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions core/components/commerce_payrexx/src/Gateways/Gateway.php
Original file line number Diff line number Diff line change
@@ -71,8 +71,7 @@ public function submit(comTransaction $transaction, array $data): Transaction

if ($psp = $this->method->getProperty('psp')) {
$payment->setPsp([$psp]);
}
else {
} else {
$payment->setPsp([]);
}
//$payment->setPm(['mastercard']);
@@ -117,7 +116,7 @@ public function submit(comTransaction $transaction, array $data): Transaction
3 => 'Benutzerdefiniertes Feld (FR)',
4 => 'Benutzerdefiniertes Feld (IT)',
*/
$this->adapter->loadLexicon('de:commerce:default', 'en:commerce:default', 'fr:commerce:default','it:commerce:default');
$this->adapter->loadLexicon('de:commerce:default', 'en:commerce:default', 'fr:commerce:default', 'it:commerce:default');

// Store some custom info
$payment->addField('custom_field_1', $order->get('reference'), [