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
<?php | |
class Mct_Wordpress_IndexController extends Mage_Core_Controller_Front_Action { | |
public function indexAction(){ | |
// JSON | |
$data = new stdClass(); | |
// CART | |
/** @var Mage_Checkout_Model_Cart $cart */ |
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
Array | |
( | |
[BRQ_APIRESULT] => Success | |
[BRQ_BASICFIELDS_1_DATATYPE] => String | |
[BRQ_BASICFIELDS_1_DESCRIPTION] => The currency for the transaction | |
[BRQ_BASICFIELDS_1_MAXLENGTH] => 3 | |
[BRQ_BASICFIELDS_1_NAME] => Currency | |
[BRQ_BASICFIELDS_1_REQUIRED] => True | |
[BRQ_BASICFIELDS_10_DATATYPE] => String | |
[BRQ_BASICFIELDS_10_DESCRIPTION] => The url in the webshop where the customer should return after the transaction results in an error. |
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
{ | |
"name": "remco/pronamic-manuals", | |
"authors": [ | |
{ | |
"name": "Remco Tolsma", | |
"email": "[email protected]" | |
} | |
], | |
"require": { | |
"michelf/php-markdown": "^1.6" |
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
<?php | |
// ... | |
// @see https://github.com/pronamic/wp-pronamic-ideal/blob/3.9.0/classes/Pronamic/WP/Pay/Plugin.php#L232 | |
$url = home_url( '/' ); | |
$url = apply_filters( 'pronamic_payment_status_redirect_url', $url, $payment ); | |
$url = apply_filters( 'pronamic_payment_status_redirect_url_' . $payment->source, $url, $payment ); | |
// ... |
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
array(92) { | |
'BRQ_APIRESULT' => | |
string(7) "Success" | |
'BRQ_BASICFIELDS_1_DATATYPE' => | |
string(6) "String" | |
'BRQ_BASICFIELDS_1_DESCRIPTION' => | |
string(32) "The currency for the transaction" | |
'BRQ_BASICFIELDS_1_MAXLENGTH' => | |
string(1) "3" | |
'BRQ_BASICFIELDS_1_NAME' => |
This file has been truncated, but you can view the full file.
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
FILE: /Users/remco/Workspace/wt-headway/footer.php | |
---------------------------------------------------------------------- | |
FOUND 8 ERRORS AFFECTING 4 LINES | |
---------------------------------------------------------------------- | |
2 | ERROR | [ ] You must use "/**" style comments for a file | |
| | comment (Squiz.Commenting.FileComment.WrongStyle) | |
3 | ERROR | [x] Inline control structures are not allowed | |
| | (Generic.ControlStructures.InlineControlStructure.NotAllowed) | |
3 | ERROR | [x] Expected 1 space after "!"; 0 found | |
| | (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter) |
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
<!-- Videos used from http://www.coverr.co/ --> | |
<video id="test" autoplay src="Acro/WEBM/Acro.webm" type="video/webm" class="fillWidth" controls> | |
</video> | |
<script type="text/javascript"> | |
var videoSource = new Array(); | |
videoSource[0] = 'Acro/WEBM/Acro.webm'; |
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
<?php | |
if ( filter_has_var( INPUT_GET, 'debug' ) ) { | |
function debug_wp_redirect( $location, $status ) { | |
debug_print_backtrace(); | |
return $location; | |
} | |
add_filter( 'wp_redirect', 'debug_wp_redirect', 1000, 2 ); |
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
<?php | |
define( 'WP_USE_THEMES', false ); | |
require '../wp-blog-header.php'; | |
$api_key = ''; | |
$url = 'https://www.tommybookingsupport.com/api/boeking/get-event-data'; |
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
grep "ConfigTest" ./vendor/wp-pay-gateways/*/src/ -R |