This file contains hidden or 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 | |
/** | |
* Paytium Zapier | |
* | |
* @package PT/Zapier | |
* @author David de Boer <david@davdeb.com> | |
* @license GPL-2.0+ | |
* @link http://www.paytium.nl | |
* |
This file contains hidden or 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
//GET API KEY | |
$settings = Mollie_WC_Plugin::getSettingsHelper(); | |
$test_mode = $settings->isTestModeEnabled(); | |
$api_key = $settings->getApiKey($test_mode); | |
// SET MOLLIE | |
$mollie = new Mollie_API_Client; | |
$mollie->setApiKey( $api_key ); | |
// GET PAYMENT |
This file contains hidden or 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
<form id="idealform" action="index.php?option=com_ccidealplatform&task=bankform" method="post"> | |
<input type="hidden" name="grandtotal" id="grandtotal" value="<?php echo $total; ?>" /> | |
<input type="hidden" name="ordernumber" id="ordernumber" value="<?php echo $ordernumber; ?>"/> | |
<input type="hidden" name="extn" id="extn" value="<?php echo $extn; ?>"/> | |
<!-- Optional: set a non-default payment method for this plugin/payment method or use ALL --> | |
<input type="hidden" name="ideal_paymentmethod" id="ideal_paymentmethod" value="ALL"/> | |
<!-- Optional: reguster more information to cciDEAL fields --> | |
<input type="hidden" name="payment_custom" id="payment_custom" value="<?php echo $SubmissionId; ?>"/> |
This file contains hidden or 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
curl -H "Authorization: OAuth api_key" https://api.mollie.nl/v1/payments |
This file contains hidden or 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 | |
// Video explanation and instructions in Dutch | |
// https://www.youtube.com/watch?v=K3zFYxdl1xI | |
// | |
// The problem: | |
// The ING bank only allows CSV exports of your bank statements until 16 months in the past. | |
// PDF exports can be downloaded for previous months but do not convert well to CSV. Most | |
// bookkeeping software allows import of CSV's so you don't have to type everything manually. |
This file contains hidden or 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
function strip(html) | |
{ | |
var tmp = document.implementation.createHTMLDocument("New").body; | |
tmp.innerHTML = html; | |
return tmp.textContent || tmp.innerText || ""; | |
} |
This file contains hidden or 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
$op_val['logo'] = '<img src="/media/com_ccinvoices/logo/'.$conf->logo.'"/>' ; |
This file contains hidden or 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
if ($select === true) { | |
$output = "<select id=\"sisowbank\" name=\"issuerid\" class=\"bform_select\">"; | |
$output .= "<option selected=\"selected\" disabled=\"disabled\">" . JText::_('ID_MESSAGE4') . "</option>"; | |
} |