Changeset 1732144
- Timestamp:
- 09/19/2017 09:52:33 AM (9 years ago)
- Location:
- paymentwall-for-woocommerce/trunk
- Files:
-
- 1 added
- 2 edited
-
includes/class-paymentwall-api.php (added)
-
includes/class-paymentwall-gateway.php (modified) (1 diff)
-
paymentwall-for-woocommerce.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
paymentwall-for-woocommerce/trunk/includes/class-paymentwall-gateway.php
r1644437 r1732144 128 128 if ($order->get_status() == PW_ORDER_STATUS_PROCESSING) { 129 129 die(PW_DEFAULT_SUCCESS_PINGBACK_VALUE); 130 }131 132 // Call Delivery Confirmation API133 if ($this->settings['enable_delivery']) {134 // Delivery Confirmation135 $delivery = new Paymentwall_GenerericApiObject('delivery');136 $response = $delivery->post($this->prepare_delivery_confirmation_data($order, $pingback->getReferenceId()));137 130 } 138 131 -
paymentwall-for-woocommerce/trunk/paymentwall-for-woocommerce.php
r1704416 r1732144 6 6 * Plugin URI: https://www.paymentwall.com/en/documentation/WooCommerce/1409 7 7 * Description: Official Paymentwall module for WordPress WooCommerce. 8 * Version: 1.5. 28 * Version: 1.5.3 9 9 * Author: The Paymentwall Team 10 10 * Author URI: http://www.paymentwall.com/ … … 35 35 include(PW_PLUGIN_PATH . '/includes/class-paymentwall-brick.php'); 36 36 include(PW_PLUGIN_PATH . '/includes/class-paymentwall-brick-subscription.php'); 37 include(PW_PLUGIN_PATH . '/includes/class-paymentwall-api.php'); 37 38 38 39 function paymentwall_payments($methods) { … … 85 86 add_action('admin_init', 'pw_child_plugin_has_parent_plugin'); 86 87 88 function sendDeliveryApi($orderId) { 89 $paymentwallApi = new Paymentwall_Api(); 90 $paymentwallApi->sendDeliveryApi($orderId); 91 } 92 add_action('woocommerce_order_status_completed', 'sendDeliveryApi');
Note: See TracChangeset
for help on using the changeset viewer.