Version Notes
Changelog:
2.0.2 :
- Some fields in the configuration of the module are now configurable in store view
- The field "empty cart" was added
2.0.1: Stable version
2.0.0
- Magento 1.5 compatibility
- Multishipping compatibility
- Bug fixed with magento 1.4
- Beta version
1.2.5 : Bug fixed on Question Number Increment
1.2.4 : Bug fixed on State Holded
1.2.3 :
- Bug fixed on round prices
- Selectable IP check
1.2.2 : Bug fixed on State Processing when payment accepted by Paybox
1.2.1 : Check Paybox IP address
1.2 :
- selectable order status on placing order
- selectable order status on payment success
- selectable order status on payment failure
- selectable order status on customer cancellation
- selectable invoice creation
1.1.7 : Bug fixed when Paybox returns an error
1.1.6 :
- translation
- bug fixed on "numéro de question invalide"
- bug fixed on double total paid
1.1.5 : PBX_AUTOSEULE 'N' (default)
1.1.4 : URL HTTP
1.1.1 : Magento Core extension
Release Info
| Developer | Magento Core Team |
| Extension | Quadra_Paybox |
| Version | 2.0.2 |
| Comparing to | |
| See all releases | |
Code changes from version 2.0.1 to 2.0.2
|
@@ -228,18 +228,28 @@ class Quadra_Paybox_SystemController extends Mage_Core_Controller_Front_Action
|
|
| 228 |
if (array_key_exists('error', $this->_payboxResponse)) {
|
| 229 |
$messageError .= ' - Code Erreur : ' . $this->_payboxResponse['error'];
|
| 230 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 231 |
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
|
| 242 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 243 |
|
| 244 |
$this->_redirect('*/*/failure');
|
| 245 |
} else {
|
|
@@ -276,15 +286,22 @@ class Quadra_Paybox_SystemController extends Mage_Core_Controller_Front_Action
|
|
| 276 |
$order->hold();
|
| 277 |
}
|
| 278 |
|
| 279 |
-
$order->save();
|
|
|
|
|
|
|
|
|
|
|
|
|
| 280 |
}
|
| 281 |
|
| 282 |
-
$session = $this->getCheckout();
|
| 283 |
-
$session->setQuoteId($session->getPayboxQuoteId(true));
|
| 284 |
-
$session->getQuote()->setIsActive(false)->save();
|
| 285 |
-
$session->unsPayboxQuoteId();
|
| 286 |
$session->addNotice($this->__('The payment was canceled.'));
|
| 287 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 288 |
$this->_redirect('checkout/cart');
|
| 289 |
} else {
|
| 290 |
$this->norouteAction();
|
|
@@ -380,10 +397,13 @@ class Quadra_Paybox_SystemController extends Mage_Core_Controller_Front_Action
|
|
| 380 |
return;
|
| 381 |
}
|
| 382 |
|
| 383 |
-
$
|
| 384 |
-
|
| 385 |
-
|
| 386 |
-
|
|
|
|
|
|
|
|
|
|
| 387 |
|
| 388 |
if (!$this->getRequest()->getParam('NUMERR')) {
|
| 389 |
$this->norouteAction();
|
|
@@ -406,7 +426,7 @@ class Quadra_Paybox_SystemController extends Mage_Core_Controller_Front_Action
|
|
| 406 |
*
|
| 407 |
*/
|
| 408 |
public function failureAction()
|
| 409 |
-
{
|
| 410 |
if (!$this->getCheckout()->getPayboxErrorMessage()) {
|
| 411 |
$this->norouteAction();
|
| 412 |
return;
|
|
@@ -649,7 +669,7 @@ class Quadra_Paybox_SystemController extends Mage_Core_Controller_Front_Action
|
|
| 649 |
$order->hold();
|
| 650 |
}
|
| 651 |
|
| 652 |
-
$order->save();
|
| 653 |
}
|
| 654 |
}
|
| 655 |
|
|
@@ -670,4 +690,35 @@ class Quadra_Paybox_SystemController extends Mage_Core_Controller_Front_Action
|
|
| 670 |
|
| 671 |
return $this->_orderIds;
|
| 672 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 673 |
}
|
| 228 |
if (array_key_exists('error', $this->_payboxResponse)) {
|
| 229 |
$messageError .= ' - Code Erreur : ' . $this->_payboxResponse['error'];
|
| 230 |
}
|
| 231 |
+
|
| 232 |
+
$orderIds = $this->_getMultishippingOrderIds($order->getQuoteId());
|
| 233 |
+
|
| 234 |
+
foreach ($orderIds as $orderId) {
|
| 235 |
+
$order = Mage::getModel('sales/order')->load($orderId);
|
| 236 |
|
| 237 |
+
$order->addStatusToHistory(
|
| 238 |
+
$model->getConfigData('order_status_payment_refused'), $messageError
|
| 239 |
+
);
|
| 240 |
|
| 241 |
+
if ($model->getConfigData('order_status_payment_refused') == Mage_Sales_Model_Order::STATE_CANCELED && $order->canCancel()) {
|
| 242 |
+
$order->cancel();
|
| 243 |
+
} else if ($model->getConfigData('order_status_payment_refused') == Mage_Sales_Model_Order::STATE_HOLDED && $order->canHold()) {
|
| 244 |
+
$order->hold();
|
| 245 |
+
}
|
| 246 |
|
| 247 |
+
$order->save();
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
if (!$model->getConfigData('empty_cart')) {
|
| 251 |
+
$this->_reorder($orderIds);
|
| 252 |
+
}
|
| 253 |
|
| 254 |
$this->_redirect('*/*/failure');
|
| 255 |
} else {
|
| 286 |
$order->hold();
|
| 287 |
}
|
| 288 |
|
| 289 |
+
$order->save();
|
| 290 |
+
}
|
| 291 |
+
|
| 292 |
+
if (!$model->getConfigData('empty_cart')) {
|
| 293 |
+
$this->_reorder($orderIds);
|
| 294 |
}
|
| 295 |
|
| 296 |
+
$session = $this->getCheckout();
|
|
|
|
|
|
|
|
|
|
| 297 |
$session->addNotice($this->__('The payment was canceled.'));
|
| 298 |
+
|
| 299 |
+
if ($model->getConfigData('empty_cart')) {
|
| 300 |
+
$session->setQuoteId($session->getPayboxQuoteId(true));
|
| 301 |
+
$session->getQuote()->setIsActive(false)->save();
|
| 302 |
+
$session->unsPayboxQuoteId();
|
| 303 |
+
}
|
| 304 |
+
|
| 305 |
$this->_redirect('checkout/cart');
|
| 306 |
} else {
|
| 307 |
$this->norouteAction();
|
| 397 |
return;
|
| 398 |
}
|
| 399 |
|
| 400 |
+
$model = $this->getModel();
|
| 401 |
+
if ($model->getConfigData('empty_cart')) {
|
| 402 |
+
$session = $this->getCheckout();
|
| 403 |
+
$session->setQuoteId($session->getPayboxQuoteId(true));
|
| 404 |
+
$session->getQuote()->setIsActive(false)->save();
|
| 405 |
+
$session->unsPayboxQuoteId();
|
| 406 |
+
}
|
| 407 |
|
| 408 |
if (!$this->getRequest()->getParam('NUMERR')) {
|
| 409 |
$this->norouteAction();
|
| 426 |
*
|
| 427 |
*/
|
| 428 |
public function failureAction()
|
| 429 |
+
{
|
| 430 |
if (!$this->getCheckout()->getPayboxErrorMessage()) {
|
| 431 |
$this->norouteAction();
|
| 432 |
return;
|
| 669 |
$order->hold();
|
| 670 |
}
|
| 671 |
|
| 672 |
+
$order->save();
|
| 673 |
}
|
| 674 |
}
|
| 675 |
|
| 690 |
|
| 691 |
return $this->_orderIds;
|
| 692 |
}
|
| 693 |
+
|
| 694 |
+
protected function _reorder($orderIds)
|
| 695 |
+
{
|
| 696 |
+
$cart = Mage::getSingleton('checkout/cart');
|
| 697 |
+
$cartTruncated = false;
|
| 698 |
+
/* @var $cart Mage_Checkout_Model_Cart */
|
| 699 |
+
|
| 700 |
+
foreach ($orderIds as $orderId) {
|
| 701 |
+
$order = Mage::getModel('sales/order')->load($orderId);
|
| 702 |
+
|
| 703 |
+
$items = $order->getItemsCollection();
|
| 704 |
+
foreach ($items as $item) {
|
| 705 |
+
try {
|
| 706 |
+
$cart->addOrderItem($item);
|
| 707 |
+
} catch (Mage_Core_Exception $e){
|
| 708 |
+
if (Mage::getSingleton('checkout/session')->getUseNotice(true)) {
|
| 709 |
+
Mage::getSingleton('checkout/session')->addNotice($e->getMessage());
|
| 710 |
+
}
|
| 711 |
+
else {
|
| 712 |
+
Mage::getSingleton('checkout/session')->addError($e->getMessage());
|
| 713 |
+
}
|
| 714 |
+
} catch (Exception $e) {
|
| 715 |
+
Mage::getSingleton('checkout/session')->addException($e,
|
| 716 |
+
Mage::helper('checkout')->__('Cannot add the item to shopping cart.')
|
| 717 |
+
);
|
| 718 |
+
}
|
| 719 |
+
}
|
| 720 |
+
}
|
| 721 |
+
|
| 722 |
+
$cart->save();
|
| 723 |
+
}
|
| 724 |
}
|
|
@@ -160,6 +160,7 @@
|
|
| 160 |
<ip2>194.2.122.158</ip2>
|
| 161 |
</authorized_ips>
|
| 162 |
<key_path>app/code/core/Mage/Paybox/etc/pubkey.pem</key_path>
|
|
|
|
| 163 |
</paybox_system>
|
| 164 |
<paybox_direct>
|
| 165 |
<pbx_site backend_model="adminhtml/system_config_backend_encrypted"/>
|
| 160 |
<ip2>194.2.122.158</ip2>
|
| 161 |
</authorized_ips>
|
| 162 |
<key_path>app/code/core/Mage/Paybox/etc/pubkey.pem</key_path>
|
| 163 |
+
<empty_cart>1</empty_cart>
|
| 164 |
</paybox_system>
|
| 165 |
<paybox_direct>
|
| 166 |
<pbx_site backend_model="adminhtml/system_config_backend_encrypted"/>
|
|
@@ -19,7 +19,7 @@
|
|
| 19 |
*/
|
| 20 |
-->
|
| 21 |
<config>
|
| 22 |
-
|
| 23 |
<payment>
|
| 24 |
<groups>
|
| 25 |
<paybox_system translate="label" module="paybox">
|
|
@@ -43,10 +43,10 @@
|
|
| 43 |
<title translate="label">
|
| 44 |
<label>Title</label>
|
| 45 |
<frontend_type>text</frontend_type>
|
| 46 |
-
<sort_order>
|
| 47 |
<show_in_default>1</show_in_default>
|
| 48 |
<show_in_website>1</show_in_website>
|
| 49 |
-
<show_in_store>
|
| 50 |
</title>
|
| 51 |
<pbx_file translate="label">
|
| 52 |
<label>Paybox CGI file</label>
|
|
@@ -157,7 +157,7 @@
|
|
| 157 |
<sort_order>100</sort_order>
|
| 158 |
<show_in_default>1</show_in_default>
|
| 159 |
<show_in_website>1</show_in_website>
|
| 160 |
-
<show_in_store>
|
| 161 |
</pbx_langue>
|
| 162 |
<pbx_typepaiement translate="label">
|
| 163 |
<label>Payment Type</label>
|
|
@@ -196,7 +196,6 @@
|
|
| 196 |
<show_in_website>1</show_in_website>
|
| 197 |
<show_in_store>0</show_in_store>
|
| 198 |
</pbx_timeout>
|
| 199 |
-
<!-- BOF QI - Marine -->
|
| 200 |
<pbx_bpserver translate="comment">
|
| 201 |
<label></label>
|
| 202 |
<frontend_model>paybox/adminhtml_system_config_form_field_backuppaymentserver</frontend_model>
|
|
@@ -204,66 +203,9 @@
|
|
| 204 |
<sort_order>117</sort_order>
|
| 205 |
<show_in_default>1</show_in_default>
|
| 206 |
<show_in_website>1</show_in_website>
|
| 207 |
-
<show_in_store>
|
| 208 |
<comment>Add a backup payment server and its timeout</comment>
|
| 209 |
</pbx_bpserver>
|
| 210 |
-
<!-- EOF QI - Marine -->
|
| 211 |
-
<!--
|
| 212 |
-
<pbx_backup1 translate="label comment">
|
| 213 |
-
<label>The URL of the primary backup payment server</label>
|
| 214 |
-
<comment>Specify the URL of the primary backup payment server if different from default</comment>
|
| 215 |
-
<frontend_type>text</frontend_type>
|
| 216 |
-
<sort_order>120</sort_order>
|
| 217 |
-
<show_in_default>1</show_in_default>
|
| 218 |
-
<show_in_website>1</show_in_website>
|
| 219 |
-
<show_in_store>0</show_in_store>
|
| 220 |
-
</pbx_backup1>
|
| 221 |
-
<pbx_timeout1 translate="label comment">
|
| 222 |
-
<label>Timeout for checking</label>
|
| 223 |
-
<comment>Time-out (in seconds) to check the avalaibility of the primary backup payment server (Default 10 seconds)</comment>
|
| 224 |
-
<frontend_type>text</frontend_type>
|
| 225 |
-
<sort_order>125</sort_order>
|
| 226 |
-
<show_in_default>1</show_in_default>
|
| 227 |
-
<show_in_website>1</show_in_website>
|
| 228 |
-
<show_in_store>0</show_in_store>
|
| 229 |
-
</pbx_timeout1>
|
| 230 |
-
<pbx_backup2 translate="label comment">
|
| 231 |
-
<label>The URL of the second backup payment server</label>
|
| 232 |
-
<comment>Specify the URL of the second backup payment server if different from default</comment>
|
| 233 |
-
<frontend_type>text</frontend_type>
|
| 234 |
-
<sort_order>130</sort_order>
|
| 235 |
-
<show_in_default>1</show_in_default>
|
| 236 |
-
<show_in_website>1</show_in_website>
|
| 237 |
-
<show_in_store>0</show_in_store>
|
| 238 |
-
</pbx_backup2>
|
| 239 |
-
<pbx_timeout2 translate="label comment">
|
| 240 |
-
<label>Timeout for checking</label>
|
| 241 |
-
<comment>Time-out (in seconds) to check the avalaibility of the second backup payment server (Default 20 seconds)</comment>
|
| 242 |
-
<frontend_type>text</frontend_type>
|
| 243 |
-
<sort_order>135</sort_order>
|
| 244 |
-
<show_in_default>1</show_in_default>
|
| 245 |
-
<show_in_website>1</show_in_website>
|
| 246 |
-
<show_in_store>0</show_in_store>
|
| 247 |
-
</pbx_timeout2>
|
| 248 |
-
<pbx_backup3 translate="label comment">
|
| 249 |
-
<label>The URL of the third backup payment server</label>
|
| 250 |
-
<comment>Specify the URL of the third backup payment server if different from default</comment>
|
| 251 |
-
<frontend_type>text</frontend_type>
|
| 252 |
-
<sort_order>140</sort_order>
|
| 253 |
-
<show_in_default>1</show_in_default>
|
| 254 |
-
<show_in_website>1</show_in_website>
|
| 255 |
-
<show_in_store>0</show_in_store>
|
| 256 |
-
</pbx_backup3>
|
| 257 |
-
<pbx_timeout3 translate="label comment">
|
| 258 |
-
<label>Timeout for checking</label>
|
| 259 |
-
<comment>Time-out (in seconds) to check the avalaibility of the third backup payment server (Default 20 seconds)</comment>
|
| 260 |
-
<frontend_type>text</frontend_type>
|
| 261 |
-
<sort_order>145</sort_order>
|
| 262 |
-
<show_in_default>1</show_in_default>
|
| 263 |
-
<show_in_website>1</show_in_website>
|
| 264 |
-
<show_in_store>0</show_in_store>
|
| 265 |
-
</pbx_timeout3>
|
| 266 |
-
-->
|
| 267 |
<pbx_ping translate="label comment">
|
| 268 |
<label>Ping Flag</label>
|
| 269 |
<comment>Only with 'Command Line' mode</comment>
|
|
@@ -318,17 +260,17 @@
|
|
| 318 |
<show_in_default>1</show_in_default>
|
| 319 |
<show_in_website>1</show_in_website>
|
| 320 |
<show_in_store>0</show_in_store>
|
| 321 |
-
|
| 322 |
-
|
| 323 |
<label>Order status when payment refused by Paybox</label>
|
| 324 |
<frontend_type>select</frontend_type>
|
| 325 |
-
|
| 326 |
<sort_order>322</sort_order>
|
| 327 |
<show_in_default>1</show_in_default>
|
| 328 |
<show_in_website>1</show_in_website>
|
| 329 |
<show_in_store>0</show_in_store>
|
| 330 |
-
|
| 331 |
-
|
| 332 |
<label>Order status when payment canceled by customer</label>
|
| 333 |
<frontend_type>select</frontend_type>
|
| 334 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
|
@@ -336,8 +278,8 @@
|
|
| 336 |
<show_in_default>1</show_in_default>
|
| 337 |
<show_in_website>1</show_in_website>
|
| 338 |
<show_in_store>0</show_in_store>
|
| 339 |
-
|
| 340 |
-
|
| 341 |
<label>Create invoice when payment accepted</label>
|
| 342 |
<frontend_type>select</frontend_type>
|
| 343 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
|
@@ -345,14 +287,23 @@
|
|
| 345 |
<show_in_default>1</show_in_default>
|
| 346 |
<show_in_website>1</show_in_website>
|
| 347 |
<show_in_store>0</show_in_store>
|
| 348 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 349 |
<sort_order translate="label">
|
| 350 |
<label>Sort order</label>
|
| 351 |
<frontend_type>text</frontend_type>
|
| 352 |
<sort_order>500</sort_order>
|
| 353 |
<show_in_default>1</show_in_default>
|
| 354 |
<show_in_website>1</show_in_website>
|
| 355 |
-
<show_in_store>
|
| 356 |
</sort_order>
|
| 357 |
<allowspecific translate="label">
|
| 358 |
<label>Payment from applicable countries</label>
|
|
@@ -372,7 +323,7 @@
|
|
| 372 |
<show_in_website>1</show_in_website>
|
| 373 |
<show_in_store>1</show_in_store>
|
| 374 |
</specificcountry>
|
| 375 |
-
|
| 376 |
</paybox_system>
|
| 377 |
<paybox_direct translate="label" module="paybox">
|
| 378 |
<label>Paybox Direct</label>
|
|
@@ -391,6 +342,14 @@
|
|
| 391 |
<show_in_website>1</show_in_website>
|
| 392 |
<show_in_store>0</show_in_store>
|
| 393 |
</active>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 394 |
<pbx_site translate="label">
|
| 395 |
<label>Site number (TPE)</label>
|
| 396 |
<frontend_type>text</frontend_type>
|
|
@@ -442,15 +401,7 @@
|
|
| 442 |
<show_in_default>1</show_in_default>
|
| 443 |
<show_in_website>1</show_in_website>
|
| 444 |
<show_in_store>0</show_in_store>
|
| 445 |
-
</debug_flag>
|
| 446 |
-
<title translate="label">
|
| 447 |
-
<label>Title</label>
|
| 448 |
-
<frontend_type>text</frontend_type>
|
| 449 |
-
<sort_order>80</sort_order>
|
| 450 |
-
<show_in_default>1</show_in_default>
|
| 451 |
-
<show_in_website>1</show_in_website>
|
| 452 |
-
<show_in_store>0</show_in_store>
|
| 453 |
-
</title>
|
| 454 |
<order_status translate="label">
|
| 455 |
<label>New order status</label>
|
| 456 |
<frontend_type>select</frontend_type>
|
|
@@ -502,9 +453,9 @@
|
|
| 502 |
<sort_order>500</sort_order>
|
| 503 |
<show_in_default>1</show_in_default>
|
| 504 |
<show_in_website>1</show_in_website>
|
| 505 |
-
<show_in_store>
|
| 506 |
</sort_order>
|
| 507 |
-
|
| 508 |
</paybox_direct>
|
| 509 |
</groups>
|
| 510 |
</payment>
|
| 19 |
*/
|
| 20 |
-->
|
| 21 |
<config>
|
| 22 |
+
<sections>
|
| 23 |
<payment>
|
| 24 |
<groups>
|
| 25 |
<paybox_system translate="label" module="paybox">
|
| 43 |
<title translate="label">
|
| 44 |
<label>Title</label>
|
| 45 |
<frontend_type>text</frontend_type>
|
| 46 |
+
<sort_order>2</sort_order>
|
| 47 |
<show_in_default>1</show_in_default>
|
| 48 |
<show_in_website>1</show_in_website>
|
| 49 |
+
<show_in_store>1</show_in_store>
|
| 50 |
</title>
|
| 51 |
<pbx_file translate="label">
|
| 52 |
<label>Paybox CGI file</label>
|
| 157 |
<sort_order>100</sort_order>
|
| 158 |
<show_in_default>1</show_in_default>
|
| 159 |
<show_in_website>1</show_in_website>
|
| 160 |
+
<show_in_store>1</show_in_store>
|
| 161 |
</pbx_langue>
|
| 162 |
<pbx_typepaiement translate="label">
|
| 163 |
<label>Payment Type</label>
|
| 196 |
<show_in_website>1</show_in_website>
|
| 197 |
<show_in_store>0</show_in_store>
|
| 198 |
</pbx_timeout>
|
|
|
|
| 199 |
<pbx_bpserver translate="comment">
|
| 200 |
<label></label>
|
| 201 |
<frontend_model>paybox/adminhtml_system_config_form_field_backuppaymentserver</frontend_model>
|
| 203 |
<sort_order>117</sort_order>
|
| 204 |
<show_in_default>1</show_in_default>
|
| 205 |
<show_in_website>1</show_in_website>
|
| 206 |
+
<show_in_store>0</show_in_store>
|
| 207 |
<comment>Add a backup payment server and its timeout</comment>
|
| 208 |
</pbx_bpserver>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 209 |
<pbx_ping translate="label comment">
|
| 210 |
<label>Ping Flag</label>
|
| 211 |
<comment>Only with 'Command Line' mode</comment>
|
| 260 |
<show_in_default>1</show_in_default>
|
| 261 |
<show_in_website>1</show_in_website>
|
| 262 |
<show_in_store>0</show_in_store>
|
| 263 |
+
</order_status_payment_accepted>
|
| 264 |
+
<order_status_payment_refused translate="label">
|
| 265 |
<label>Order status when payment refused by Paybox</label>
|
| 266 |
<frontend_type>select</frontend_type>
|
| 267 |
+
<source_model>paybox/system_config_source_order_statuswithoutcanceled</source_model>
|
| 268 |
<sort_order>322</sort_order>
|
| 269 |
<show_in_default>1</show_in_default>
|
| 270 |
<show_in_website>1</show_in_website>
|
| 271 |
<show_in_store>0</show_in_store>
|
| 272 |
+
</order_status_payment_refused>
|
| 273 |
+
<order_status_payment_canceled translate="label">
|
| 274 |
<label>Order status when payment canceled by customer</label>
|
| 275 |
<frontend_type>select</frontend_type>
|
| 276 |
<source_model>adminhtml/system_config_source_order_status</source_model>
|
| 278 |
<show_in_default>1</show_in_default>
|
| 279 |
<show_in_website>1</show_in_website>
|
| 280 |
<show_in_store>0</show_in_store>
|
| 281 |
+
</order_status_payment_canceled>
|
| 282 |
+
<invoice_create translate="label">
|
| 283 |
<label>Create invoice when payment accepted</label>
|
| 284 |
<frontend_type>select</frontend_type>
|
| 285 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 287 |
<show_in_default>1</show_in_default>
|
| 288 |
<show_in_website>1</show_in_website>
|
| 289 |
<show_in_store>0</show_in_store>
|
| 290 |
+
</invoice_create>
|
| 291 |
+
<empty_cart translate="label">
|
| 292 |
+
<label>Empty cart when payment refused by Paybox or canceled by customer</label>
|
| 293 |
+
<frontend_type>select</frontend_type>
|
| 294 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 295 |
+
<sort_order>360</sort_order>
|
| 296 |
+
<show_in_default>1</show_in_default>
|
| 297 |
+
<show_in_website>1</show_in_website>
|
| 298 |
+
<show_in_store>0</show_in_store>
|
| 299 |
+
</empty_cart>
|
| 300 |
<sort_order translate="label">
|
| 301 |
<label>Sort order</label>
|
| 302 |
<frontend_type>text</frontend_type>
|
| 303 |
<sort_order>500</sort_order>
|
| 304 |
<show_in_default>1</show_in_default>
|
| 305 |
<show_in_website>1</show_in_website>
|
| 306 |
+
<show_in_store>1</show_in_store>
|
| 307 |
</sort_order>
|
| 308 |
<allowspecific translate="label">
|
| 309 |
<label>Payment from applicable countries</label>
|
| 323 |
<show_in_website>1</show_in_website>
|
| 324 |
<show_in_store>1</show_in_store>
|
| 325 |
</specificcountry>
|
| 326 |
+
</fields>
|
| 327 |
</paybox_system>
|
| 328 |
<paybox_direct translate="label" module="paybox">
|
| 329 |
<label>Paybox Direct</label>
|
| 342 |
<show_in_website>1</show_in_website>
|
| 343 |
<show_in_store>0</show_in_store>
|
| 344 |
</active>
|
| 345 |
+
<title translate="label">
|
| 346 |
+
<label>Title</label>
|
| 347 |
+
<frontend_type>text</frontend_type>
|
| 348 |
+
<sort_order>2</sort_order>
|
| 349 |
+
<show_in_default>1</show_in_default>
|
| 350 |
+
<show_in_website>1</show_in_website>
|
| 351 |
+
<show_in_store>1</show_in_store>
|
| 352 |
+
</title>
|
| 353 |
<pbx_site translate="label">
|
| 354 |
<label>Site number (TPE)</label>
|
| 355 |
<frontend_type>text</frontend_type>
|
| 401 |
<show_in_default>1</show_in_default>
|
| 402 |
<show_in_website>1</show_in_website>
|
| 403 |
<show_in_store>0</show_in_store>
|
| 404 |
+
</debug_flag>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 405 |
<order_status translate="label">
|
| 406 |
<label>New order status</label>
|
| 407 |
<frontend_type>select</frontend_type>
|
| 453 |
<sort_order>500</sort_order>
|
| 454 |
<show_in_default>1</show_in_default>
|
| 455 |
<show_in_website>1</show_in_website>
|
| 456 |
+
<show_in_store>1</show_in_store>
|
| 457 |
</sort_order>
|
| 458 |
+
</fields>
|
| 459 |
</paybox_direct>
|
| 460 |
</groups>
|
| 461 |
</payment>
|
|
@@ -125,4 +125,5 @@
|
|
| 125 |
"The payment was canceled.","Le paiement a été annulé."
|
| 126 |
"Error occured","Une erreur est survenue"
|
| 127 |
"Order was canceled by Paybox","La commande a été annulée par Paybox"
|
| 128 |
-
"Please <a href=""%s"">continue shopping</a>.","<a href=""%s"">Continuer vos achats</a>."
|
|
|
| 125 |
"The payment was canceled.","Le paiement a été annulé."
|
| 126 |
"Error occured","Une erreur est survenue"
|
| 127 |
"Order was canceled by Paybox","La commande a été annulée par Paybox"
|
| 128 |
+
"Please <a href=""%s"">continue shopping</a>.","<a href=""%s"">Continuer vos achats</a>."
|
| 129 |
+
"Empty cart when payment refused by Paybox or canceled by customer","Vider le panier quand le paiement est refusé par Paybox ou annulé par le client"
|
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Quadra_Paybox</name>
|
| 4 |
-
<version>2.0.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -10,11 +10,17 @@
|
|
| 10 |
<description>The extension provides Paybox payment integration. Allows make payments through Paybox methods.
|
| 11 |
|
| 12 |
Changelog:
|
| 13 |
-
2.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
- Magento 1.5 compatibility
|
| 15 |
- Multishipping compatibility
|
| 16 |
- Bug fixed with magento 1.4
|
| 17 |
-
-
|
| 18 |
|
| 19 |
1.2.4 : Bug fixed on State Holded
|
| 20 |
1.2.3 :
|
|
@@ -37,11 +43,17 @@ Changelog:
|
|
| 37 |
1.1.4 : URL HTTP
|
| 38 |
1.1.1 : Magento Core extension</description>
|
| 39 |
<notes>Changelog:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
2.0.0
|
| 41 |
- Magento 1.5 compatibility
|
| 42 |
- Multishipping compatibility
|
| 43 |
- Bug fixed with magento 1.4
|
| 44 |
-
-
|
| 45 |
|
| 46 |
1.2.5 : Bug fixed on Question Number Increment
|
| 47 |
|
|
@@ -75,9 +87,9 @@ Changelog:
|
|
| 75 |
|
| 76 |
1.1.1 : Magento Core extension</notes>
|
| 77 |
<authors><author><name>Quadra Informatique</name><user>auto-converted</user><email>ecommerce@quadra-informatique.fr</email></author></authors>
|
| 78 |
-
<date>2011-07-
|
| 79 |
-
<time>07:
|
| 80 |
-
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="paybox"><dir name="adminhtml"><dir name="cart"><dir name="type"><file name="select.phtml" hash="33538a4c3980b6a5aeff849024a8d408"/></dir></dir></dir><dir name="direct"><dir name="pdf"><file name="info.phtml" hash="8037a8abc4ab8c3da2ecfabd42247b27"/></dir><file name="form.phtml" hash="7d20d868238792f5c6e7333f923ead92"/><file name="info.phtml" hash="cee925ba85086d93de14cd4831591d4d"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="paybox.xml" hash="09492f6e1e7ebecca5043d816352f6db"/></dir><dir name="template"><dir name="paybox"><dir name="direct"><file name="form.phtml" hash="e32419916b5b1c3bd1a90d2c211c6127"/><file name="info.phtml" hash="276eda44a52e62b34384fae0cd1a3528"/></dir><dir name="system"><file name="error.phtml" hash="bc971ffb6434c241fbb04c9da0d635c1"/><file name="form.phtml" hash="e39629caeafc8f622fc224fa97e6270d"/><file name="notify.phtml" hash="124d29b917196b5acac9d1b1e9a6cb4b"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="images"><dir name="media"><dir name="paybox"><file name="paybox.png" hash="87f2b567282864162b5af79d7ab7d44b"/><file name="PayboxPaiementSecurise.png" hash="de66247ae1debc79a0f3cd015247307e"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Quadra_Paybox.csv" hash="
|
| 81 |
<compatible/>
|
| 82 |
<dependencies><required><package><name>Quadra_Extensions</name><channel>community</channel><min>1.0.0</min><max>1.0.0</max></package></required></dependencies>
|
| 83 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Quadra_Paybox</name>
|
| 4 |
+
<version>2.0.2</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
| 7 |
<channel>community</channel>
|
| 10 |
<description>The extension provides Paybox payment integration. Allows make payments through Paybox methods.
|
| 11 |
|
| 12 |
Changelog:
|
| 13 |
+
2.0.2 :
|
| 14 |
+
- Some fields in the configuration of the module are now configurable in store view
|
| 15 |
+
- The field "empty cart" was added
|
| 16 |
+
|
| 17 |
+
2.0.1 : Stable version
|
| 18 |
+
|
| 19 |
+
2.0.0:
|
| 20 |
- Magento 1.5 compatibility
|
| 21 |
- Multishipping compatibility
|
| 22 |
- Bug fixed with magento 1.4
|
| 23 |
+
- Beta version
|
| 24 |
|
| 25 |
1.2.4 : Bug fixed on State Holded
|
| 26 |
1.2.3 :
|
| 43 |
1.1.4 : URL HTTP
|
| 44 |
1.1.1 : Magento Core extension</description>
|
| 45 |
<notes>Changelog:
|
| 46 |
+
2.0.2 :
|
| 47 |
+
- Some fields in the configuration of the module are now configurable in store view
|
| 48 |
+
- The field "empty cart" was added
|
| 49 |
+
|
| 50 |
+
2.0.1: Stable version
|
| 51 |
+
|
| 52 |
2.0.0
|
| 53 |
- Magento 1.5 compatibility
|
| 54 |
- Multishipping compatibility
|
| 55 |
- Bug fixed with magento 1.4
|
| 56 |
+
- Beta version
|
| 57 |
|
| 58 |
1.2.5 : Bug fixed on Question Number Increment
|
| 59 |
|
| 87 |
|
| 88 |
1.1.1 : Magento Core extension</notes>
|
| 89 |
<authors><author><name>Quadra Informatique</name><user>auto-converted</user><email>ecommerce@quadra-informatique.fr</email></author></authors>
|
| 90 |
+
<date>2011-07-29</date>
|
| 91 |
+
<time>07:49:09</time>
|
| 92 |
+
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="paybox"><dir name="adminhtml"><dir name="cart"><dir name="type"><file name="select.phtml" hash="33538a4c3980b6a5aeff849024a8d408"/></dir></dir></dir><dir name="direct"><dir name="pdf"><file name="info.phtml" hash="8037a8abc4ab8c3da2ecfabd42247b27"/></dir><file name="form.phtml" hash="7d20d868238792f5c6e7333f923ead92"/><file name="info.phtml" hash="cee925ba85086d93de14cd4831591d4d"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="paybox.xml" hash="09492f6e1e7ebecca5043d816352f6db"/></dir><dir name="template"><dir name="paybox"><dir name="direct"><file name="form.phtml" hash="e32419916b5b1c3bd1a90d2c211c6127"/><file name="info.phtml" hash="276eda44a52e62b34384fae0cd1a3528"/></dir><dir name="system"><file name="error.phtml" hash="bc971ffb6434c241fbb04c9da0d635c1"/><file name="form.phtml" hash="e39629caeafc8f622fc224fa97e6270d"/><file name="notify.phtml" hash="124d29b917196b5acac9d1b1e9a6cb4b"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="images"><dir name="media"><dir name="paybox"><file name="paybox.png" hash="87f2b567282864162b5af79d7ab7d44b"/><file name="PayboxPaiementSecurise.png" hash="de66247ae1debc79a0f3cd015247307e"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Quadra_Paybox.csv" hash="a3c333216ff0ca31d4308d0cf4c74bda"/></dir></target><target name="mageetc"><dir name="modules"><file name="Quadra_Paybox.xml" hash="da5f5123c142768bb5ff995e2b95ac5a"/></dir></target><target name="magecommunity"><dir name="Quadra"><dir name="Paybox"><dir name="Block"><dir name="Adminhtml"><dir name="Cart"><dir name="Type"><file name="Select.php" hash="51321f19e03d20f5efde964188fa6928"/></dir><file name="Type.php" hash="bf720b74158e684e4c0aee009b847ef5"/></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Backuppaymentserver.php" hash="11b5ae8dc4005cafbbe51de25bda03e4"/></dir></dir></dir></dir></dir><dir name="Direct"><file name="Form.php" hash="ed3c0828ee91fb910ce0d14a2995ab2c"/><file name="Info.php" hash="6f9b7532037acf1042bda777e3e9bb3f"/></dir><dir name="System"><file name="Error.php" hash="a700c3b1a489cf71d76551f6b733d53e"/><file name="Failure.php" hash="f6a6b00a355c0aa73d8c040144cfe565"/><file name="Form.php" hash="1bb8f7a6ba91aa48bc514d9b8795d0d3"/><file name="Redirect.php" hash="f9a79824dc7a9068d2dd649cc592a311"/></dir></dir><dir name="controllers"><file name="SystemController.php" hash="a13d90996e2803c0825000ae16e2e4f9"/><file name="SystemController.php.old" hash="d798841754dcb016675bbac3059b273a"/></dir><dir name="etc"><file name="config.xml" hash="7d0d106cbd052ebac4c1330496bd87bf"/><file name="currency.xml" hash="8a5cc0d549c4087a53818e2b96266bb6"/><file name="pubkey.pem" hash="9bf5be38bde5f19c40acf3d8e4e7806b"/><file name="system.xml" hash="e7056de57836f72b30924258b75efa7f"/></dir><dir name="Helper"><file name="Data.php" hash="dfb20ddf6a95b6dd7a651b8bcd4fca4d"/></dir><dir name="Model"><dir name="Api"><file name="Debug.php" hash="d9f37591f5345f1db1f0e301777ea87c"/></dir><dir name="Config"><dir name="Data"><file name="Paybox.php" hash="4937070bb736f3ec056e5bb5758048ad"/></dir></dir><dir name="Mysql4"><dir name="Api"><dir name="Debug"><file name="Collection.php" hash="3429e61d551b448227a1aed1834b8a9b"/></dir><file name="Debug.php" hash="dacbd30c590f16622281d230801d7a61"/></dir><dir name="Question"><file name="Number.php" hash="f85607ffde633ad871bcffd9c33d5234"/></dir><file name="Setup.php" hash="b7c80fb9404b192296d6148772300ce5"/></dir><dir name="Question"><file name="Number.php" hash="90c1c6ec506c5ce15243af9e6db36fd5"/></dir><dir name="Source"><file name="CartType.php" hash="0fb1bf4428c16def548f6c3152ed7086"/><file name="Cctype.php" hash="0441f86e3551760968737e966dec2d33"/><file name="Language.php" hash="6a6937fead8e04e0112ab563cac3b2b5"/><file name="ManagementMode.php" hash="a9a2f1f47020da11dabca0f012f800d4"/><file name="MethodCall.php" hash="6359567b4156d605aa66030e05f89309"/><file name="PaymentAction.php" hash="b8d518e5ad704e1d772cf52e237cb4e2"/><file name="PaymentMode.php" hash="ab473a91634006f1cdda41a0d1c037a5"/><file name="PaymentType.php" hash="3fec4740471c21de07c24b041c933f6d"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Order"><file name="Statuswithoutcanceled.php" hash="75cdbadf35185f84616428c2b193b6dd"/></dir></dir></dir></dir><file name="Direct.php" hash="ccd1e246cbf832bcde725f07702b8c70"/><file name="Observer.php" hash="9c6b853915d0196af644d223b7d90cee"/><file name="System.php" hash="46991888ebeba2a7b48ce79a829137d1"/></dir><dir name="sql"><dir name="paybox_setup"><file name="mysql4-install-0.1.0.php" hash="fbded6a0cab3b2f7fccb2b366875400c"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="8182a45614defeb0fe63423fd25e53c8"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="8c6bb8b5f1fb795a82aba2f7f0fabd3e"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="3b9bec0b61bc06a67083b36d52677e3a"/><file name="mysql4-upgrade-1.2.4-1.2.5.php" hash="26a1501f1b70d72de1163f99352efe6b"/></dir></dir></dir></dir></target></contents>
|
| 93 |
<compatible/>
|
| 94 |
<dependencies><required><package><name>Quadra_Extensions</name><channel>community</channel><min>1.0.0</min><max>1.0.0</max></package></required></dependencies>
|
| 95 |
</package>
|
