-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #247 from OXID-eSales/UNZER-312_PaymentWithoutOrder
Unzer 312 payment without order
- Loading branch information
Showing
16 changed files
with
415 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ | |
</ul>', | ||
], | ||
'thumbnail' => 'logo.svg', | ||
'version' => '1.2.0-rc.3', | ||
'version' => '1.2.0-rc.4', | ||
'author' => 'OXID eSales AG', | ||
'url' => 'https://www.oxid-esales.com', | ||
'email' => '[email protected]', | ||
|
@@ -424,6 +424,12 @@ | |
'type' => 'bool', | ||
'value' => '0', | ||
], | ||
[ | ||
'group' => 'unzerother', | ||
'name' => 'UnzerWebhookTimeDifference', | ||
'type' => 'str', | ||
'value' => '5', | ||
], | ||
// this options are invisible because of missing group | ||
[ | ||
'group' => '', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace OxidSolutionCatalysts\Unzer\Migrations; | ||
|
||
use Doctrine\DBAL\Schema\Schema; | ||
use Doctrine\Migrations\AbstractMigration; | ||
|
||
/** | ||
* Auto-generated Migration: Please modify to your needs! | ||
*/ | ||
final class Version20240321104606 extends AbstractMigration | ||
{ | ||
public function getDescription(): string | ||
{ | ||
return ''; | ||
} | ||
|
||
public function up(Schema $schema): void | ||
{ | ||
if (!$schema->hasTable('oscunzertmporder')) { | ||
$this->createTmpOrderTable(); | ||
} | ||
} | ||
public function down(Schema $schema): void | ||
{ | ||
// this down() migration is auto-generated, please modify it to your needs | ||
} | ||
protected function createTmpOrderTable() | ||
{ | ||
$this->addSql("CREATE TABLE `oscunzertmporder` ( | ||
`OXID` char(32) NOT NULL, | ||
`OXSHOPID` int(11) NOT NULL, | ||
`OXORDERID` char(32) NOT NULL, | ||
`OXUNZERORDERNR` int(11) NOT NULL, | ||
`TMPORDER` mediumtext NOT NULL, | ||
`STATUS` enum('FINISHED','NOT_FINISHED') NOT NULL, | ||
`TIMESTAMP` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.