Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
SHOPWARE-638_PayPalRegistrationFix
Browse files Browse the repository at this point in the history
* added in JS for SW 55 a fix for invoice B2B form check
* changed versionnumber and update-method
  • Loading branch information
heidelpay-sp committed Apr 7, 2020
1 parent 6c702c4 commit b0aa053
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Frontend/HeidelGateway/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Shopware_Plugins_Frontend_HeidelGateway_Bootstrap extends Shopware_Compone
* @return string version number
*/
public function getVersion(){
return '20.03.10';
return '20.04.08';
}

/**
Expand Down Expand Up @@ -1010,8 +1010,13 @@ public function update($oldVersion){
// Fix for a php-fatal exception could be thrown in case of incoming pushes "Call to a member function getPrevious() on null"
// Fix for Mobile-browsers with Card-transactions
// Fix for PayPal registrations
// Fix for B2B-invoice form in JS
// added params for evaluation
// added EventHook in convertOrder to get notified after convertOrder has finshed
// activated refunds for eps payment method in backend
// Bugfix for EPS-Connector issues
case '20.01.15':
case '20.03.10':
case '20.04.08':
try{
$msg .= '* update 20.03.10<br />';
} catch (Exception $e){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1292,6 +1292,10 @@ function valInvoiceB2b() {
$('.newreg_ivb2b #heidelb2bCompanyRegisterNr').removeClass('has--error');
$('.newreg_ivb2b #heidelb2bExePhone').removeClass('has--error');
$('.newreg_ivb2b #heidelb2bCompanyUstNr').removeClass('has--error');
$('.newreg_ivb2b [name ="Date_Day"]').removeClass('has--error');
$('.newreg_ivb2b [name ="Date_Month"]').removeClass('has--error');
$('.newreg_ivb2b [name ="Date_Year"]').removeClass('has--error');
$('.js--fancy-select.select-field').removeClass('has--error');

// checking Company name
var heidelCompanyName = $('.newreg_ivb2b #heidelb2bCompanyName').val();
Expand Down

0 comments on commit b0aa053

Please sign in to comment.