-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
67 changed files
with
6,971 additions
and
48 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
/* | ||
Module developed for the Open Source Content Management System WebsiteBaker (http://websitebaker.org) | ||
Copyright (C) 2007 - 2015, Christoph Marti | ||
LICENCE TERMS: | ||
This module is free software. You can redistribute it and/or modify it | ||
under the terms of the GNU General Public License - version 2 or later, | ||
as published by the Free Software Foundation: http://www.gnu.org/licenses/gpl.html. | ||
DISCLAIMER: | ||
This module is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
*/ | ||
|
||
|
||
// Prevent this file from being accessed directly | ||
if (defined('WB_PATH') == false) { | ||
exit("Cannot access this file directly"); | ||
} | ||
|
||
// Set payment status tu success | ||
$payment_status = 'success'; | ||
include(WB_PATH.'/modules/bakery/view_confirmation.php'); | ||
return; |
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,60 @@ | ||
<?php | ||
|
||
/* | ||
Module developed for the Open Source Content Management System WebsiteBaker (http://websitebaker.org) | ||
Copyright (C) 2007 - 2015, Christoph Marti | ||
LICENCE TERMS: | ||
This module is free software. You can redistribute it and/or modify it | ||
under the terms of the GNU General Public License - version 2 or later, | ||
as published by the Free Software Foundation: http://www.gnu.org/licenses/gpl.html. | ||
DISCLAIMER: | ||
This module is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
*/ | ||
|
||
|
||
// Prevent this file from being accessed directly | ||
if (defined('WB_PATH') == false) { | ||
exit("Cannot access this file directly"); | ||
} | ||
|
||
// Include info file | ||
include(WB_PATH.'/modules/bakery/payment_methods/'.$payment_method.'/info.php'); | ||
|
||
// Look for payment method language file | ||
if (LANGUAGE_LOADED) { | ||
include(WB_PATH.'/modules/bakery/payment_methods/'.$payment_method.'/languages/EN.php'); | ||
if (file_exists(WB_PATH.'/modules/bakery/payment_methods/'.$payment_method.'/languages/'.LANGUAGE.'.php')) { | ||
include(WB_PATH.'/modules/bakery/payment_methods/'.$payment_method.'/languages/'.LANGUAGE.'.php'); | ||
} | ||
} | ||
?> | ||
|
||
|
||
<tr> | ||
<td colspan="2"><h3 class="mod_bakery_pay_h_f"><?PHP echo $MOD_BAKERY[$payment_method]['TXT_TITLE']; ?></h3></td> | ||
</tr> | ||
<tr> | ||
<td colspan="2"><table width="100%" border="0" cellpadding="0" cellspacing="0"> | ||
<tr align="left" valign="top"> | ||
<td width="33.3%" class="mod_bakery_pay_td_f"><b>1</b>.<br /> | ||
<?PHP echo $MOD_BAKERY[$payment_method]['TXT_SUCCESS']; ?></td> | ||
<td width="33.3%" class="mod_bakery_pay_td_f"><b>2</b>.<br /> | ||
<?PHP echo $MOD_BAKERY[$payment_method]['TXT_PICKUP']; ?></td> | ||
<td width="33.4%" class="mod_bakery_pay_td_f"><b>3</b>.<br /> | ||
<?PHP echo $MOD_BAKERY[$payment_method]['TXT_PAY']; ?></td> | ||
</tr> | ||
</table></td> | ||
</tr> | ||
<tr> | ||
<td colspan="2" class="mod_bakery_pay_submit_f"> | ||
<input type="submit" name="payment_method[<?php echo $payment_method ?>]" class="mod_bakery_bt_pay_<?php echo $payment_method ?>_f" value="<?php echo $MOD_BAKERY[$payment_method]['TXT_PAY']; ?>" onclick="javascript: return checkTaC()" /> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2"><hr class="mod_bakery_hr_f" /></td> | ||
</tr> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,20 @@ | ||
<?php | ||
|
||
/* | ||
Module developed for the Open Source Content Management System WebsiteBaker (http://websitebaker.org) | ||
Copyright (C) 2007 - 2015, Christoph Marti | ||
LICENCE TERMS: | ||
This module is free software. You can redistribute it and/or modify it | ||
under the terms of the GNU General Public License - version 2 or later, | ||
as published by the Free Software Foundation: http://www.gnu.org/licenses/gpl.html. | ||
DISCLAIMER: | ||
This module is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
*/ | ||
|
||
|
||
header("Location: ../../../../index.php"); |
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,46 @@ | ||
<?php | ||
|
||
/* | ||
Module developed for the Open Source Content Management System WebsiteBaker (http://websitebaker.org) | ||
Copyright (C) 2007 - 2015, Christoph Marti | ||
LICENCE TERMS: | ||
This module is free software. You can redistribute it and/or modify it | ||
under the terms of the GNU General Public License - version 2 or later, | ||
as published by the Free Software Foundation: http://www.gnu.org/licenses/gpl.html. | ||
DISCLAIMER: | ||
This module is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
*/ | ||
|
||
|
||
|
||
// DEFINE THE PAYMENT METHOD SETTINGS | ||
// ********************************** | ||
|
||
/* | ||
Define the payment method settings that the shop admin will have to set in the Bakery backend. | ||
Make sure that every var set below has its counterpart in the payment method language files: | ||
eg. $field_1 = 'email'; | ||
$MOD_BAKERY[$payment_method]['TXT_EMAIL'] = 'E-Mail'; | ||
=> 'email' will be converted to uppercase 'TXT_EMAIL' | ||
*/ | ||
$field_1 = ''; | ||
$field_2 = ''; | ||
$field_3 = ''; | ||
$field_4 = ''; | ||
$field_5 = ''; | ||
$field_6 = ''; | ||
|
||
|
||
|
||
// PAYMENT METHOD INFO | ||
// ******************* | ||
|
||
$payment_method_name = 'Buy online, pick up in store'; | ||
$payment_method_version = '0.1'; | ||
$payment_method_author = 'Christoph Marti'; | ||
$requires_bakery_module = '1.7'; |
Oops, something went wrong.