Skip to content

Instantly share code, notes, and snippets.

@emilleszczak2
Last active January 10, 2022 17:54
Show Gist options
  • Save emilleszczak2/b49fc06aba70fbafd97d21ebac6c6438 to your computer and use it in GitHub Desktop.
Save emilleszczak2/b49fc06aba70fbafd97d21ebac6c6438 to your computer and use it in GitHub Desktop.
test controller
<?php
class PaynowTestModuleFrontController extends PaynowFrontController
{
public function initContent()
{
parent::initContent();
PaynowPaymentData::create(
'TEST-PAYMENT-13',
Paynow\Model\Payment\Status::STATUS_NEW,
'XYZ1234',
1,
'XYZ1234',
'XYZ1234',
1.00
);
die;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment