Skip to content

Commit

Permalink
#49 Update consent message, send basketdata for ratepay and wirecard
Browse files Browse the repository at this point in the history
  • Loading branch information
rinnhofer committed Jun 12, 2017
1 parent 034284c commit 278f862
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Frontend/WirecardCheckoutSeamless/Models/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ public function getSnippets()
'namespace' => 'frontend/checkout/wirecard',
'locale' => '1',
'name' => 'WirecardCheckoutSeamlessPayolutionLink',
'value' => 'Bewilligung'
'value' => 'Einwilligung'
),
array(
'namespace' => 'frontend/checkout/wirecard',
Expand Down
4 changes: 2 additions & 2 deletions Frontend/WirecardCheckoutSeamless/Models/Seamless.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ public function getResponse($paymentType, $amount, $currencyShortName, $urls, $p
->setConsumerData($this->getConsumerData($paymentType));

if (Shopware()->WirecardCheckoutSeamless()->Config()->SEND_BASKET_DATA
|| ($paymentType == WirecardCEE_QMore_PaymentType::INSTALLMENT)
|| ($paymentType == WirecardCEE_QMore_PaymentType::INVOICE)
|| ($paymentType == WirecardCEE_QMore_PaymentType::INSTALLMENT && Shopware()->WirecardCheckoutSeamless()->Config()->INSTALLMENT_PROVIDER != 'payolution')
|| ($paymentType == WirecardCEE_QMore_PaymentType::INVOICE && Shopware()->WirecardCheckoutSeamless()->Config()->INVOICE_PROVIDER != 'payolution')
) {
$init->setBasket($this->getShoppingBasket());
}
Expand Down

0 comments on commit 278f862

Please sign in to comment.