diff --git a/Controller/SubscribeController.php b/Controller/SubscribeController.php index dc4f8f6..e77642a 100644 --- a/Controller/SubscribeController.php +++ b/Controller/SubscribeController.php @@ -143,10 +143,23 @@ public function subscribepaypalAction(Request $request) { //we have an invalid transaction, record it. $this->response = $this->listener->getResponse(); $this->_set_error("Transaction not verified"); + } if($this->debug){ return $this->render('PaustianWebsiteFeeModule:Subscribe:websitefee_subscribe_testsubscribe.html.twig'); } + /*$response = new Response(); + + $response->setContent(''); + $response->setStatusCode(Response::HTTP_OK); + + // sets a HTTP response header + $response->headers->set('Content-Type', 'text/html'); + + // prints the HTTP headers followed by the content + return $response;*/ + http_response_code (200); + exit(); } private function _cancelSubscription($uid, $item_no) { diff --git a/Resources/public/css/style.css b/Resources/public/css/style.css index 5a4b4fd..b388c74 100644 --- a/Resources/public/css/style.css +++ b/Resources/public/css/style.css @@ -20,3 +20,13 @@ div.example_itemlist { border: 1px dotted black; } +table-fixed { + table-layout: fixed; + width: 500px; +} + +th-fixed { + overflow: hidden; + width: 100px; +} + diff --git a/Resources/views/Admin/websitefee_admin_modifyerrs.html.twig b/Resources/views/Admin/websitefee_admin_modifyerrs.html.twig index b0a4fda..a2fa04f 100644 --- a/Resources/views/Admin/websitefee_admin_modifyerrs.html.twig +++ b/Resources/views/Admin/websitefee_admin_modifyerrs.html.twig @@ -1,6 +1,6 @@ {{ render(controller('ZikulaAdminModule:Admin:adminheader')) }}
- +
diff --git a/Resources/views/Subscribe/websitefee_subscribe_testsubscribe.html.twig b/Resources/views/Subscribe/websitefee_subscribe_testsubscribe.html.twig index c657cdb..a927437 100644 --- a/Resources/views/Subscribe/websitefee_subscribe_testsubscribe.html.twig +++ b/Resources/views/Subscribe/websitefee_subscribe_testsubscribe.html.twig @@ -5,33 +5,39 @@ {{ __("The WebsiteFeeModule Test Data") }} -

Payment amount: - - - - - - - - - - - - - - - - - - - -

Transaction ID:

- - - - - - +

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

Transaction Type

@@ -40,15 +46,6 @@ - - -

Item Number:

- - - - - -

User ID:

{{ __('Request') }}