Changeset 2847454
- Timestamp:
- 01/12/2023 01:56:40 PM (3 years ago)
- Location:
- paystack-for-events-calendar
- Files:
-
- 12 added
- 46 edited
- 1 copied
-
assets/banner-1544x500.png (modified) (1 prop) (previous)
-
assets/banner-772x250.png (modified) (1 prop) (previous)
-
assets/icon-128x128.png (modified) (1 prop) (previous)
-
assets/icon-256x256.png (modified) (1 prop) (previous)
-
tags/1.0.3 (copied) (copied from paystack-for-events-calendar/trunk)
-
tags/1.0.3/assets/js/checkout.js (modified) (7 diffs)
-
tags/1.0.3/classes/REST/Order_Endpoint.php (modified) (8 diffs)
-
tags/1.0.3/classes/class-assets.php (modified) (4 diffs)
-
tags/1.0.3/classes/class-gateway.php (modified) (2 diffs)
-
tags/1.0.3/classes/class-hooks.php (modified) (1 diff)
-
tags/1.0.3/classes/class-merchant.php (modified) (1 diff)
-
tags/1.0.3/classes/class-settings.php (modified) (1 diff)
-
tags/1.0.3/classes/class-signup.php (modified) (1 diff)
-
tags/1.0.3/languages/tec-paystack-en_EN.po (modified) (3 diffs)
-
tags/1.0.3/languages/tec-paystack-en_US.po (modified) (3 diffs)
-
tags/1.0.3/languages/tec-paystack.pot (modified) (3 diffs)
-
tags/1.0.3/package.json (modified) (1 diff)
-
tags/1.0.3/paystack-tec.php (modified) (2 diffs)
-
tags/1.0.3/paystack/admin-views/connect/active.php (modified) (2 diffs)
-
tags/1.0.3/paystack/admin-views/connect/logo.php (modified) (2 diffs)
-
tags/1.0.3/paystack/admin-views/fields/country-select.php (modified) (1 diff)
-
tags/1.0.3/paystack/admin-views/fields/metadata-options.php (added)
-
tags/1.0.3/paystack/admin-views/main.php (modified) (1 diff)
-
tags/1.0.3/paystack/admin-views/modal (added)
-
tags/1.0.3/paystack/admin-views/modal/signup-complete (added)
-
tags/1.0.3/paystack/admin-views/modal/signup-complete.php (added)
-
tags/1.0.3/paystack/admin-views/modal/signup-complete/content.php (added)
-
tags/1.0.3/paystack/admin-views/modal/signup-complete/notice-test-mode.php (added)
-
tags/1.0.3/paystack/checkout/container.php (modified) (1 diff)
-
tags/1.0.3/paystack/checkout/fields/submit.php (modified) (2 diffs)
-
tags/1.0.3/paystack/checkout/order/details/capture-id.php (modified) (3 diffs)
-
tags/1.0.3/readme.txt (modified) (1 diff)
-
trunk/assets/js/checkout.js (modified) (7 diffs)
-
trunk/classes/REST/Order_Endpoint.php (modified) (8 diffs)
-
trunk/classes/class-assets.php (modified) (4 diffs)
-
trunk/classes/class-gateway.php (modified) (2 diffs)
-
trunk/classes/class-hooks.php (modified) (1 diff)
-
trunk/classes/class-merchant.php (modified) (1 diff)
-
trunk/classes/class-settings.php (modified) (1 diff)
-
trunk/classes/class-signup.php (modified) (1 diff)
-
trunk/languages/tec-paystack-en_EN.po (modified) (3 diffs)
-
trunk/languages/tec-paystack-en_US.po (modified) (3 diffs)
-
trunk/languages/tec-paystack.pot (modified) (3 diffs)
-
trunk/package.json (modified) (1 diff)
-
trunk/paystack-tec.php (modified) (2 diffs)
-
trunk/paystack/admin-views/connect/active.php (modified) (2 diffs)
-
trunk/paystack/admin-views/connect/logo.php (modified) (2 diffs)
-
trunk/paystack/admin-views/fields/country-select.php (modified) (1 diff)
-
trunk/paystack/admin-views/fields/metadata-options.php (added)
-
trunk/paystack/admin-views/main.php (modified) (1 diff)
-
trunk/paystack/admin-views/modal (added)
-
trunk/paystack/admin-views/modal/signup-complete (added)
-
trunk/paystack/admin-views/modal/signup-complete.php (added)
-
trunk/paystack/admin-views/modal/signup-complete/content.php (added)
-
trunk/paystack/admin-views/modal/signup-complete/notice-test-mode.php (added)
-
trunk/paystack/checkout/container.php (modified) (1 diff)
-
trunk/paystack/checkout/fields/submit.php (modified) (2 diffs)
-
trunk/paystack/checkout/order/details/capture-id.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
paystack-for-events-calendar/assets/banner-1544x500.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
paystack-for-events-calendar/assets/banner-772x250.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
paystack-for-events-calendar/assets/icon-128x128.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
paystack-for-events-calendar/assets/icon-256x256.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
paystack-for-events-calendar/tags/1.0.3/assets/js/checkout.js
r2846787 r2847454 6 6 * @type {Object} 7 7 */ 8 tribe.tickets.commerce.gateway.paystack = tribe.tickets.commerce.gateway.paystack || {};8 tribe.tickets.commerce.gateway.paystack = tribe.tickets.commerce.gateway.paystack || {}; 9 9 10 10 /** … … 40 40 this.container = $( tribe.tickets.commerce.selectors.checkoutContainer ); 41 41 }, 42 getSettings: function ( ) {42 getSettings: function ( leaveMeta = false ) { 43 43 let settings = { 44 44 key: tecTicketsPaystackCheckout.publicKey, … … 47 47 email: this.email_address.val(), 48 48 amount: this.total.val() * 100, 49 currency: tecTicketsPaystackCheckout.currency_code ,49 currency: tecTicketsPaystackCheckout.currency_code 50 50 } 51 51 if ( 0 < this.sub_account.length && '' !== this.sub_account.val() ) { … … 54 54 settings.split_code = this.split_trans.val(); 55 55 } 56 57 if ( false == leaveMeta ) { 58 settings.metaData = tecTicketsPaystackCheckout.metaData; 59 } 60 56 61 return settings; 57 62 }, … … 88 93 89 94 let bodyArgs = { 90 purchaser: tribe.tickets.commerce.getPurchaserData( $this.container ) 95 purchaser: tribe.tickets.commerce.getPurchaserData( $this.container ), 96 cart: $this.getSettings() 91 97 } 92 98 93 99 if ( 'redirect' == tecTicketsPaystackCheckout.gatewayMode ) { 94 100 bodyArgs.redirect_url = window.location.href; 95 bodyArgs.cart = $this.getSettings();96 101 } 97 102 … … 128 133 let $this = this; 129 134 130 let settings = this.getSettings( );135 let settings = this.getSettings( true ); 131 136 132 137 settings.ref = order.id; // Uses the Order ID 133 138 if ( undefined != order.meta ) { 139 settings.metadata = { 140 plugin:'the-events-calendar' 141 }; 142 settings.metadata.custom_fields = order.meta; 143 } else { 144 settings.metadata = {}; 145 } 146 134 147 settings.onClose = function( response ){ 135 148 response = { … … 155 168 }; 156 169 170 tribe.tickets.debug.log( 'paystackPopUpSettings', settings ); 157 171 let handler = PaystackPop.setup( settings ); 158 172 handler.openIframe(); -
paystack-for-events-calendar/tags/1.0.3/classes/REST/Order_Endpoint.php
r2846787 r2847454 28 28 * @since 5.1.9 29 29 * 30 * @package TEC\Tickets\Commerce\Gateways\Pay Pal\REST30 * @package TEC\Tickets\Commerce\Gateways\Paystack\REST 31 31 */ 32 32 class Order_Endpoint extends Abstract_REST_Endpoint { … … 87 87 88 88 /** 89 * Handles the request that creates an order with Tickets Commerce and the Pay Palgateway.89 * Handles the request that creates an order with Tickets Commerce and the Paystack gateway. 90 90 * 91 91 * @since 5.1.9 … … 100 100 ); 101 101 102 $data = $request->get_json_params(); 103 $purchaser = tribe( Order::class )->get_purchaser_data( $data ); 102 $data = $request->get_json_params(); 103 $purchaser = tribe( Order::class )->get_purchaser_data( $data ); 104 $cart_string = array(); 104 105 105 106 if ( is_wp_error( $purchaser ) ) { … … 129 130 'sku' => $ticket->sku, 130 131 ); 132 133 $cart_string[] = $item['quantity'] . ' x ' . $ticket->name; 134 } 135 136 //generate the metadata 137 $metadata = array(); 138 $metadata[] = array( 139 'display_name' => 'Plugin', 140 'variable_name' => 'plugin', 141 'value' => 'the-events-calendar', 142 ); 143 if ( isset( $data['cart']['metaData'] ) ) { 144 foreach ( $data['cart']['metaData'] as $datafield ) { 145 146 $save_field = ''; 147 148 switch ( $datafield ) { 149 case 'order_id': 150 $save_field = array( 151 'display_name' => 'Order ID', 152 'variable_name' => 'order_id', 153 'value' => $order->ID, 154 ); 155 break; 156 157 case 'customer_name': 158 $save_field = array( 159 'display_name' => 'Customer Name', 160 'variable_name' => 'customer_name', 161 'value' => $order->purchaser['first_name'], 162 ); 163 break; 164 165 case 'customer_surname': 166 $save_field = array( 167 'display_name' => 'Customer Surname', 168 'variable_name' => 'customer_surname', 169 'value' => $order->purchaser['last_name'], 170 ); 171 break; 172 173 case 'cart_details': 174 $save_field = array( 175 'display_name' => 'Cart Details', 176 'variable_name' => 'cart_details', 177 'value' => implode( ',', $cart_string ), 178 ); 179 break; 180 } 181 182 if ( '' !== $save_field ) { 183 $metadata[] = $save_field; 184 } 185 } 131 186 } 132 187 … … 141 196 'reference' => $order->ID, 142 197 ); 198 $redirect_data['metadata']['plugin'] = 'the-events-calendar'; 199 if ( ! empty( $metadata ) ) { 200 $redirect_data['metadata']['custom_fields'] = $metadata; 201 } 143 202 144 203 if ( isset( $data['cart']['subaccount'] ) ) { … … 172 231 } 173 232 174 // Respond with the ID for Pay palUsage.233 // Respond with the ID for Paystack Usage. 175 234 $response['success'] = true; 176 235 $response['id'] = $order->ID; 236 $response['meta'] = $metadata; 177 237 178 238 return new WP_REST_Response( $response ); … … 180 240 181 241 /** 182 * Handles the request that updates an order with Tickets Commerce and the Pay Palgateway.242 * Handles the request that updates an order with Tickets Commerce and the Paystack gateway. 183 243 * 184 244 * @since 5.1.9 … … 341 401 342 402 /** 343 * Arguments used for the updating order for Pay Pal.403 * Arguments used for the updating order for Paystack. 344 404 * 345 405 * @since 5.1.9 -
paystack-for-events-calendar/tags/1.0.3/classes/class-assets.php
r2846787 r2847454 76 76 } 77 77 78 $metadata = array( 79 'none', 80 ); 81 $assigned_meta = $gateway->get_option( 'metadata' ); 82 if ( ! empty( $assigned_meta ) ) { 83 $metadata = $assigned_meta; 84 } 85 78 86 tribe_asset( 79 87 $plugin, … … 103 111 'currency_code' => $currency_code, 104 112 'gatewayMode' => $checkout_mode, 113 'metaData' => $metadata, 105 114 'errorMessages' => array( 106 115 'name' => esc_html__( 'Name is required', 'paystack-for-events-calendar' ), … … 116 125 117 126 /** 118 * Define if the assets for `Pay Pal` should be enqueued or not.127 * Define if the assets for `Paystack` should be enqueued or not. 119 128 * 120 129 * @since 5.1.10 121 130 * 122 * @return bool If the `Pay Pal` assets should be enqueued or not.131 * @return bool If the `Paystack` assets should be enqueued or not. 123 132 */ 124 133 public function should_enqueue_assets() { … … 127 136 128 137 /** 129 * Define if the assets for `Pay Pal` should be enqueued or not.138 * Define if the assets for `Paystack` should be enqueued or not. 130 139 * 131 140 * @since 5.1.10 132 141 * 133 * @return bool If the `Pay Pal` assets should be enqueued or not.142 * @return bool If the `Paystack` assets should be enqueued or not. 134 143 */ 135 144 public function should_enqueue_assets_payments_tab() { -
paystack-for-events-calendar/tags/1.0.3/classes/class-gateway.php
r2846787 r2847454 83 83 } 84 84 85 // If option is not explicitly set, the default will be if Pay Palis connected.85 // If option is not explicitly set, the default will be if Paystack is connected. 86 86 return static::is_connected(); 87 87 } … … 150 150 return $options[ $key ]; 151 151 } 152 // If option is not explicitly set, the default will be if Pay Palis connected.152 // If option is not explicitly set, the default will be if Paystack is connected. 153 153 return false; 154 154 } -
paystack-for-events-calendar/tags/1.0.3/classes/class-hooks.php
r2846787 r2847454 48 48 49 49 /** 50 * Register the Endpoints from Pay pal.50 * Register the Endpoints from Paystack. 51 51 * 52 52 * @since 5.1.9 -
paystack-for-events-calendar/tags/1.0.3/classes/class-merchant.php
r2846787 r2847454 29 29 'checkout_mode', 30 30 'transaction_type', 31 'metadata', 31 32 ); 32 33 -
paystack-for-events-calendar/tags/1.0.3/classes/class-settings.php
r2846787 r2847454 41 41 'checkout_mode' => 'popup', 42 42 'transaction_type' => '', 43 'metadata' => array(), 43 44 ); 44 45 -
paystack-for-events-calendar/tags/1.0.3/classes/class-signup.php
r2846787 r2847454 3 3 4 4 use TEC\Tickets\Commerce\Gateways\Contracts\Abstract_Signup; 5 use TEC\Tickets\Commerce\Gateways\Pay Pal\Location\Country;5 use TEC\Tickets\Commerce\Gateways\Paystack\Location\Country; 6 6 use TEC\Tickets\Commerce\Settings; 7 7 use Tribe__Utils__Array as Arr; -
paystack-for-events-calendar/tags/1.0.3/languages/tec-paystack-en_EN.po
r2846800 r2847454 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Paystack for The Events Calendar 1.0. 2\n"5 "Project-Id-Version: Paystack for The Events Calendar 1.0.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/plugin-the-events-calendar\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 218 218 219 219 #: paystack/admin-views/modal/signup-complete.php:24 220 msgid "You are now connected to Pay Pal, here's what's next..."220 msgid "You are now connected to Paystack, here's what's next..." 221 221 msgstr "" 222 222 223 223 #. Translators: %1$s: opening `a` tag to the knowledge base article. %2$s: closing `a` tag to the knowledge base article. 224 224 #: paystack/admin-views/modal/signup-complete/content.php:20 225 msgid "Pay Palallows you to accept credit or debit cards directly on your website. Because of this, your site needs to maintain %1$sPCI-DSS compliance%2$s."225 msgid "Paystack allows you to accept credit or debit cards directly on your website. Because of this, your site needs to maintain %1$sPCI-DSS compliance%2$s." 226 226 msgstr "" 227 227 … … 300 300 301 301 #: paystack/checkout/order/details/capture-id.php:40 302 msgid "Pay PalCapture ID:"303 msgstr "" 302 msgid "Paystack Capture ID:" 303 msgstr "" -
paystack-for-events-calendar/tags/1.0.3/languages/tec-paystack-en_US.po
r2846800 r2847454 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Paystack for The Events Calendar 1.0. 2\n"5 "Project-Id-Version: Paystack for The Events Calendar 1.0.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/plugin-the-events-calendar\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 218 218 219 219 #: paystack/admin-views/modal/signup-complete.php:24 220 msgid "You are now connected to Pay Pal, here's what's next..."220 msgid "You are now connected to Paystack, here's what's next..." 221 221 msgstr "" 222 222 223 223 #. Translators: %1$s: opening `a` tag to the knowledge base article. %2$s: closing `a` tag to the knowledge base article. 224 224 #: paystack/admin-views/modal/signup-complete/content.php:20 225 msgid "Pay Palallows you to accept credit or debit cards directly on your website. Because of this, your site needs to maintain %1$sPCI-DSS compliance%2$s."225 msgid "Paystack allows you to accept credit or debit cards directly on your website. Because of this, your site needs to maintain %1$sPCI-DSS compliance%2$s." 226 226 msgstr "" 227 227 … … 300 300 301 301 #: paystack/checkout/order/details/capture-id.php:40 302 msgid "Pay PalCapture ID:"303 msgstr "" 302 msgid "Paystack Capture ID:" 303 msgstr "" -
paystack-for-events-calendar/tags/1.0.3/languages/tec-paystack.pot
r2846800 r2847454 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Paystack for The Events Calendar 1.0. 2\n"5 "Project-Id-Version: Paystack for The Events Calendar 1.0.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/plugin-the-events-calendar\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 218 218 219 219 #: paystack/admin-views/modal/signup-complete.php:24 220 msgid "You are now connected to Pay Pal, here's what's next..."220 msgid "You are now connected to Paystack, here's what's next..." 221 221 msgstr "" 222 222 223 223 #. Translators: %1$s: opening `a` tag to the knowledge base article. %2$s: closing `a` tag to the knowledge base article. 224 224 #: paystack/admin-views/modal/signup-complete/content.php:20 225 msgid "Pay Palallows you to accept credit or debit cards directly on your website. Because of this, your site needs to maintain %1$sPCI-DSS compliance%2$s."225 msgid "Paystack allows you to accept credit or debit cards directly on your website. Because of this, your site needs to maintain %1$sPCI-DSS compliance%2$s." 226 226 msgstr "" 227 227 … … 300 300 301 301 #: paystack/checkout/order/details/capture-id.php:40 302 msgid "Pay PalCapture ID:"303 msgstr "" 302 msgid "Paystack Capture ID:" 303 msgstr "" -
paystack-for-events-calendar/tags/1.0.3/package.json
r2846800 r2847454 1 1 { 2 2 "name": "tec-paystack", 3 "version": "1.0. 2",3 "version": "1.0.3", 4 4 "description": "Paystack for The Events Calendar", 5 5 "scripts": { -
paystack-for-events-calendar/tags/1.0.3/paystack-tec.php
r2846800 r2847454 5 5 * Description: Add-on for The Event Calendar that allows you to accept payments for event tickets via Paystack 6 6 * Author: Paystack 7 * Version: 1.0. 28 * Author URI: https:// www.lsdev.biz/7 * Version: 1.0.3 8 * Author URI: https://paystack.com/ 9 9 * License: GPL3 10 10 * Text Domain: paystack-for-events-calendar … … 20 20 define( 'PS_TEC_CORE', __FILE__ ); 21 21 define( 'PS_TEC_URL', plugin_dir_url( __FILE__ ) ); 22 define( 'PS_TEC_VER', '1.0. 2' );22 define( 'PS_TEC_VER', '1.0.3' ); 23 23 24 24 /* ======================= Below is the Plugin Class init ========================= */ -
paystack-for-events-calendar/tags/1.0.3/paystack/admin-views/connect/active.php
r2846787 r2847454 1 1 <?php 2 2 /** 3 * The Template for displaying the Tickets Commerce Pay PalSettings when connected.3 * The Template for displaying the Tickets Commerce Paystack Settings when connected. 4 4 * 5 5 * @version 5.3.0 6 6 * 7 7 * @since 5.1.10 8 * @since 5.3.0 Using generic CSS classes for gateway instead of Pay Pal.8 * @since 5.3.0 Using generic CSS classes for gateway instead of Paystack. 9 9 * 10 10 * @var Tribe__Tickets__Admin__Views $this [Global] Template object. … … 29 29 ?> 30 30 31 <?php 32 $metadata_args = array( 33 'selected' => $merchant->get_prop( 'metadata' ), 34 ); 35 $this->template( 'paystack/admin-views/fields/metadata-options', $metadata_args ); 36 ?> 37 31 38 <fieldset id="tribe-field-ticket-display-tickets-left-threshold" class="tribe-field tribe-field-text tribe-size-small"> 32 39 <legend class="tribe-field-label"><?php echo esc_html_e( 'Webhooks', 'paystack-for-events-calendar' ); ?></legend> -
paystack-for-events-calendar/tags/1.0.3/paystack/admin-views/connect/logo.php
r2846787 r2847454 1 1 <?php 2 2 /** 3 * The Template for displaying the Tickets Commerce Pay Pallogo and features.3 * The Template for displaying the Tickets Commerce Paystack logo and features. 4 4 * 5 5 * @version 5.3.0 6 6 * 7 7 * @since 5.1.10 8 * @since 5.3.0 Using generic CSS classes for gateway instead of Pay Pal.8 * @since 5.3.0 Using generic CSS classes for gateway instead of Paystack. 9 9 * 10 10 * @var Tribe__Tickets__Admin__Views $this [Global] Template object. 11 11 * @var string $plugin_url [Global] The plugin URL. 12 * @var TEC\Tickets\Commerce\Gateways\Pay Pal\Merchant $merchant [Global] The merchant class.13 * @var TEC\Tickets\Commerce\Gateways\Pay Pal\Signup $signup [Global] The Signup class.12 * @var TEC\Tickets\Commerce\Gateways\Paystack\Merchant $merchant [Global] The merchant class. 13 * @var TEC\Tickets\Commerce\Gateways\Paystack\Signup $signup [Global] The Signup class. 14 14 * @var bool $is_merchant_active [Global] Whether the merchant is active or not. 15 15 * @var bool $is_merchant_connected [Global] Whether the merchant is connected or not. … … 20 20 <div class="tec-tickets__admin-settings-tickets-commerce-gateway-logo"> 21 21 22 <?php $this->template( 'settings/tickets-commerce/pay pal/connect/logo/image' ); ?>22 <?php $this->template( 'settings/tickets-commerce/paystack/connect/logo/image' ); ?> 23 23 24 <?php $this->template( 'settings/tickets-commerce/pay pal/connect/logo/features' ); ?>24 <?php $this->template( 'settings/tickets-commerce/paystack/connect/logo/features' ); ?> 25 25 26 26 </div> -
paystack-for-events-calendar/tags/1.0.3/paystack/admin-views/fields/country-select.php
r2846787 r2847454 5 5 'ZA' => esc_html__( 'South Africa', 'paystack-for-events-calendar' ), 6 6 ); 7 $default_country_code = \TEC\Tickets\Commerce\Gateways\Pay Pal\Location\Country::DEFAULT_COUNTRY_CODE;7 $default_country_code = \TEC\Tickets\Commerce\Gateways\Paystack\Location\Country::DEFAULT_COUNTRY_CODE; 8 8 $selected_country_code = $country_code; 9 9 if ( empty( $selected_country_code ) ) { -
paystack-for-events-calendar/tags/1.0.3/paystack/admin-views/main.php
r2846787 r2847454 1 1 <?php 2 2 /** 3 * The Template for displaying the Tickets Commerce Pay PalSettings.3 * The Template for displaying the Tickets Commerce Paystack Settings. 4 4 * 5 5 * @version 5.3.0 6 6 * 7 7 * @since 5.1.10 8 * @since 5.3.0 Using generic CSS classes for gateway instead of Pay Pal.8 * @since 5.3.0 Using generic CSS classes for gateway instead of Paystack. 9 9 * 10 10 * @var Tribe__Tickets__Admin__Views $this [Global] Template object. -
paystack-for-events-calendar/tags/1.0.3/paystack/checkout/container.php
r2846787 r2847454 1 1 <?php 2 2 /** 3 * Tickets Commerce: Pay PalCheckout container3 * Tickets Commerce: Paystack Checkout container 4 4 * 5 5 * Override this template in your own theme by creating a file at: 6 * [your-theme]/tribe/tickets/v2/commerce/gateway/pay pal/container.php6 * [your-theme]/tribe/tickets/v2/commerce/gateway/paystack/container.php 7 7 * 8 8 * See more documentation about our views templating system. -
paystack-for-events-calendar/tags/1.0.3/paystack/checkout/fields/submit.php
r2846787 r2847454 1 1 <?php 2 2 /** 3 * Tickets Commerce: Checkout Advanced Payments for Pay Pal- Submit3 * Tickets Commerce: Checkout Advanced Payments for Paystack - Submit 4 4 * 5 5 * Override this template in your own theme by creating a file at: 6 * [your-theme]/tribe/tickets/v2/commerce/gateway/pay pal/advanced-payments/fields/submit.php6 * [your-theme]/tribe/tickets/v2/commerce/gateway/paystack/advanced-payments/fields/submit.php 7 7 * 8 8 * See more documentation about our views templating system. … … 20 20 $classes = [ 21 21 'tribe-common-c-btn', 22 'tribe-tickets__commerce-checkout-pay pal-advanced-payments-form-submit-button',22 'tribe-tickets__commerce-checkout-paystack-advanced-payments-form-submit-button', 23 23 ]; 24 24 -
paystack-for-events-calendar/tags/1.0.3/paystack/checkout/order/details/capture-id.php
r2846787 r2847454 1 1 <?php 2 2 /** 3 * Tickets Commerce: Success Order Page Details > Pay Palcapture ID3 * Tickets Commerce: Success Order Page Details > Paystack capture ID 4 4 * 5 5 * Override this template in your own theme by creating a file at: 6 * [your-theme]/tribe/tickets/v2/commerce/gateway/pay pal/order/details/capture-id.php6 * [your-theme]/tribe/tickets/v2/commerce/gateway/paystack/order/details/capture-id.php 7 7 * 8 8 * See more documentation about our views templating system. … … 20 20 * @var int $order_id [Global] The order ID. 21 21 * @var bool $is_tec_active [Global] Whether `The Events Calendar` is active or not. 22 * @var string $capture_id Pay PalCapture ID for this order.22 * @var string $capture_id Paystack Capture ID for this order. 23 23 */ 24 24 … … 38 38 <div class="tribe-tickets__commerce-order-details-row"> 39 39 <div class="tribe-tickets__commerce-order-details-col1"> 40 <?php esc_html_e( 'Pay PalCapture ID:', 'paystack-for-events-calendar' ); ?>40 <?php esc_html_e( 'Paystack Capture ID:', 'paystack-for-events-calendar' ); ?> 41 41 </div> 42 42 <div class="tribe-tickets__commerce-order-details-col2"> -
paystack-for-events-calendar/tags/1.0.3/readme.txt
r2846800 r2847454 2 2 Contributors: paystack, feedmymedia, krugazul, lightspeed 3 3 Tags: the events calendar, paystack, payment gateway 4 Requires at least: 6.1.14 Requires at least: 5.8.6 5 5 Tested up to: 6.1.1 6 Stable tag: 1.0. 26 Stable tag: 1.0.3 7 7 Requires PHP: 8.0 8 8 License: GPL3 -
paystack-for-events-calendar/trunk/assets/js/checkout.js
r2846787 r2847454 6 6 * @type {Object} 7 7 */ 8 tribe.tickets.commerce.gateway.paystack = tribe.tickets.commerce.gateway.paystack || {};8 tribe.tickets.commerce.gateway.paystack = tribe.tickets.commerce.gateway.paystack || {}; 9 9 10 10 /** … … 40 40 this.container = $( tribe.tickets.commerce.selectors.checkoutContainer ); 41 41 }, 42 getSettings: function ( ) {42 getSettings: function ( leaveMeta = false ) { 43 43 let settings = { 44 44 key: tecTicketsPaystackCheckout.publicKey, … … 47 47 email: this.email_address.val(), 48 48 amount: this.total.val() * 100, 49 currency: tecTicketsPaystackCheckout.currency_code ,49 currency: tecTicketsPaystackCheckout.currency_code 50 50 } 51 51 if ( 0 < this.sub_account.length && '' !== this.sub_account.val() ) { … … 54 54 settings.split_code = this.split_trans.val(); 55 55 } 56 57 if ( false == leaveMeta ) { 58 settings.metaData = tecTicketsPaystackCheckout.metaData; 59 } 60 56 61 return settings; 57 62 }, … … 88 93 89 94 let bodyArgs = { 90 purchaser: tribe.tickets.commerce.getPurchaserData( $this.container ) 95 purchaser: tribe.tickets.commerce.getPurchaserData( $this.container ), 96 cart: $this.getSettings() 91 97 } 92 98 93 99 if ( 'redirect' == tecTicketsPaystackCheckout.gatewayMode ) { 94 100 bodyArgs.redirect_url = window.location.href; 95 bodyArgs.cart = $this.getSettings();96 101 } 97 102 … … 128 133 let $this = this; 129 134 130 let settings = this.getSettings( );135 let settings = this.getSettings( true ); 131 136 132 137 settings.ref = order.id; // Uses the Order ID 133 138 if ( undefined != order.meta ) { 139 settings.metadata = { 140 plugin:'the-events-calendar' 141 }; 142 settings.metadata.custom_fields = order.meta; 143 } else { 144 settings.metadata = {}; 145 } 146 134 147 settings.onClose = function( response ){ 135 148 response = { … … 155 168 }; 156 169 170 tribe.tickets.debug.log( 'paystackPopUpSettings', settings ); 157 171 let handler = PaystackPop.setup( settings ); 158 172 handler.openIframe(); -
paystack-for-events-calendar/trunk/classes/REST/Order_Endpoint.php
r2846787 r2847454 28 28 * @since 5.1.9 29 29 * 30 * @package TEC\Tickets\Commerce\Gateways\Pay Pal\REST30 * @package TEC\Tickets\Commerce\Gateways\Paystack\REST 31 31 */ 32 32 class Order_Endpoint extends Abstract_REST_Endpoint { … … 87 87 88 88 /** 89 * Handles the request that creates an order with Tickets Commerce and the Pay Palgateway.89 * Handles the request that creates an order with Tickets Commerce and the Paystack gateway. 90 90 * 91 91 * @since 5.1.9 … … 100 100 ); 101 101 102 $data = $request->get_json_params(); 103 $purchaser = tribe( Order::class )->get_purchaser_data( $data ); 102 $data = $request->get_json_params(); 103 $purchaser = tribe( Order::class )->get_purchaser_data( $data ); 104 $cart_string = array(); 104 105 105 106 if ( is_wp_error( $purchaser ) ) { … … 129 130 'sku' => $ticket->sku, 130 131 ); 132 133 $cart_string[] = $item['quantity'] . ' x ' . $ticket->name; 134 } 135 136 //generate the metadata 137 $metadata = array(); 138 $metadata[] = array( 139 'display_name' => 'Plugin', 140 'variable_name' => 'plugin', 141 'value' => 'the-events-calendar', 142 ); 143 if ( isset( $data['cart']['metaData'] ) ) { 144 foreach ( $data['cart']['metaData'] as $datafield ) { 145 146 $save_field = ''; 147 148 switch ( $datafield ) { 149 case 'order_id': 150 $save_field = array( 151 'display_name' => 'Order ID', 152 'variable_name' => 'order_id', 153 'value' => $order->ID, 154 ); 155 break; 156 157 case 'customer_name': 158 $save_field = array( 159 'display_name' => 'Customer Name', 160 'variable_name' => 'customer_name', 161 'value' => $order->purchaser['first_name'], 162 ); 163 break; 164 165 case 'customer_surname': 166 $save_field = array( 167 'display_name' => 'Customer Surname', 168 'variable_name' => 'customer_surname', 169 'value' => $order->purchaser['last_name'], 170 ); 171 break; 172 173 case 'cart_details': 174 $save_field = array( 175 'display_name' => 'Cart Details', 176 'variable_name' => 'cart_details', 177 'value' => implode( ',', $cart_string ), 178 ); 179 break; 180 } 181 182 if ( '' !== $save_field ) { 183 $metadata[] = $save_field; 184 } 185 } 131 186 } 132 187 … … 141 196 'reference' => $order->ID, 142 197 ); 198 $redirect_data['metadata']['plugin'] = 'the-events-calendar'; 199 if ( ! empty( $metadata ) ) { 200 $redirect_data['metadata']['custom_fields'] = $metadata; 201 } 143 202 144 203 if ( isset( $data['cart']['subaccount'] ) ) { … … 172 231 } 173 232 174 // Respond with the ID for Pay palUsage.233 // Respond with the ID for Paystack Usage. 175 234 $response['success'] = true; 176 235 $response['id'] = $order->ID; 236 $response['meta'] = $metadata; 177 237 178 238 return new WP_REST_Response( $response ); … … 180 240 181 241 /** 182 * Handles the request that updates an order with Tickets Commerce and the Pay Palgateway.242 * Handles the request that updates an order with Tickets Commerce and the Paystack gateway. 183 243 * 184 244 * @since 5.1.9 … … 341 401 342 402 /** 343 * Arguments used for the updating order for Pay Pal.403 * Arguments used for the updating order for Paystack. 344 404 * 345 405 * @since 5.1.9 -
paystack-for-events-calendar/trunk/classes/class-assets.php
r2846787 r2847454 76 76 } 77 77 78 $metadata = array( 79 'none', 80 ); 81 $assigned_meta = $gateway->get_option( 'metadata' ); 82 if ( ! empty( $assigned_meta ) ) { 83 $metadata = $assigned_meta; 84 } 85 78 86 tribe_asset( 79 87 $plugin, … … 103 111 'currency_code' => $currency_code, 104 112 'gatewayMode' => $checkout_mode, 113 'metaData' => $metadata, 105 114 'errorMessages' => array( 106 115 'name' => esc_html__( 'Name is required', 'paystack-for-events-calendar' ), … … 116 125 117 126 /** 118 * Define if the assets for `Pay Pal` should be enqueued or not.127 * Define if the assets for `Paystack` should be enqueued or not. 119 128 * 120 129 * @since 5.1.10 121 130 * 122 * @return bool If the `Pay Pal` assets should be enqueued or not.131 * @return bool If the `Paystack` assets should be enqueued or not. 123 132 */ 124 133 public function should_enqueue_assets() { … … 127 136 128 137 /** 129 * Define if the assets for `Pay Pal` should be enqueued or not.138 * Define if the assets for `Paystack` should be enqueued or not. 130 139 * 131 140 * @since 5.1.10 132 141 * 133 * @return bool If the `Pay Pal` assets should be enqueued or not.142 * @return bool If the `Paystack` assets should be enqueued or not. 134 143 */ 135 144 public function should_enqueue_assets_payments_tab() { -
paystack-for-events-calendar/trunk/classes/class-gateway.php
r2846787 r2847454 83 83 } 84 84 85 // If option is not explicitly set, the default will be if Pay Palis connected.85 // If option is not explicitly set, the default will be if Paystack is connected. 86 86 return static::is_connected(); 87 87 } … … 150 150 return $options[ $key ]; 151 151 } 152 // If option is not explicitly set, the default will be if Pay Palis connected.152 // If option is not explicitly set, the default will be if Paystack is connected. 153 153 return false; 154 154 } -
paystack-for-events-calendar/trunk/classes/class-hooks.php
r2846787 r2847454 48 48 49 49 /** 50 * Register the Endpoints from Pay pal.50 * Register the Endpoints from Paystack. 51 51 * 52 52 * @since 5.1.9 -
paystack-for-events-calendar/trunk/classes/class-merchant.php
r2846787 r2847454 29 29 'checkout_mode', 30 30 'transaction_type', 31 'metadata', 31 32 ); 32 33 -
paystack-for-events-calendar/trunk/classes/class-settings.php
r2846787 r2847454 41 41 'checkout_mode' => 'popup', 42 42 'transaction_type' => '', 43 'metadata' => array(), 43 44 ); 44 45 -
paystack-for-events-calendar/trunk/classes/class-signup.php
r2846787 r2847454 3 3 4 4 use TEC\Tickets\Commerce\Gateways\Contracts\Abstract_Signup; 5 use TEC\Tickets\Commerce\Gateways\Pay Pal\Location\Country;5 use TEC\Tickets\Commerce\Gateways\Paystack\Location\Country; 6 6 use TEC\Tickets\Commerce\Settings; 7 7 use Tribe__Utils__Array as Arr; -
paystack-for-events-calendar/trunk/languages/tec-paystack-en_EN.po
r2846800 r2847454 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Paystack for The Events Calendar 1.0. 2\n"5 "Project-Id-Version: Paystack for The Events Calendar 1.0.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/plugin-the-events-calendar\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 218 218 219 219 #: paystack/admin-views/modal/signup-complete.php:24 220 msgid "You are now connected to Pay Pal, here's what's next..."220 msgid "You are now connected to Paystack, here's what's next..." 221 221 msgstr "" 222 222 223 223 #. Translators: %1$s: opening `a` tag to the knowledge base article. %2$s: closing `a` tag to the knowledge base article. 224 224 #: paystack/admin-views/modal/signup-complete/content.php:20 225 msgid "Pay Palallows you to accept credit or debit cards directly on your website. Because of this, your site needs to maintain %1$sPCI-DSS compliance%2$s."225 msgid "Paystack allows you to accept credit or debit cards directly on your website. Because of this, your site needs to maintain %1$sPCI-DSS compliance%2$s." 226 226 msgstr "" 227 227 … … 300 300 301 301 #: paystack/checkout/order/details/capture-id.php:40 302 msgid "Pay PalCapture ID:"303 msgstr "" 302 msgid "Paystack Capture ID:" 303 msgstr "" -
paystack-for-events-calendar/trunk/languages/tec-paystack-en_US.po
r2846800 r2847454 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Paystack for The Events Calendar 1.0. 2\n"5 "Project-Id-Version: Paystack for The Events Calendar 1.0.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/plugin-the-events-calendar\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 218 218 219 219 #: paystack/admin-views/modal/signup-complete.php:24 220 msgid "You are now connected to Pay Pal, here's what's next..."220 msgid "You are now connected to Paystack, here's what's next..." 221 221 msgstr "" 222 222 223 223 #. Translators: %1$s: opening `a` tag to the knowledge base article. %2$s: closing `a` tag to the knowledge base article. 224 224 #: paystack/admin-views/modal/signup-complete/content.php:20 225 msgid "Pay Palallows you to accept credit or debit cards directly on your website. Because of this, your site needs to maintain %1$sPCI-DSS compliance%2$s."225 msgid "Paystack allows you to accept credit or debit cards directly on your website. Because of this, your site needs to maintain %1$sPCI-DSS compliance%2$s." 226 226 msgstr "" 227 227 … … 300 300 301 301 #: paystack/checkout/order/details/capture-id.php:40 302 msgid "Pay PalCapture ID:"303 msgstr "" 302 msgid "Paystack Capture ID:" 303 msgstr "" -
paystack-for-events-calendar/trunk/languages/tec-paystack.pot
r2846800 r2847454 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Paystack for The Events Calendar 1.0. 2\n"5 "Project-Id-Version: Paystack for The Events Calendar 1.0.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/plugin-the-events-calendar\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 218 218 219 219 #: paystack/admin-views/modal/signup-complete.php:24 220 msgid "You are now connected to Pay Pal, here's what's next..."220 msgid "You are now connected to Paystack, here's what's next..." 221 221 msgstr "" 222 222 223 223 #. Translators: %1$s: opening `a` tag to the knowledge base article. %2$s: closing `a` tag to the knowledge base article. 224 224 #: paystack/admin-views/modal/signup-complete/content.php:20 225 msgid "Pay Palallows you to accept credit or debit cards directly on your website. Because of this, your site needs to maintain %1$sPCI-DSS compliance%2$s."225 msgid "Paystack allows you to accept credit or debit cards directly on your website. Because of this, your site needs to maintain %1$sPCI-DSS compliance%2$s." 226 226 msgstr "" 227 227 … … 300 300 301 301 #: paystack/checkout/order/details/capture-id.php:40 302 msgid "Pay PalCapture ID:"303 msgstr "" 302 msgid "Paystack Capture ID:" 303 msgstr "" -
paystack-for-events-calendar/trunk/package.json
r2846800 r2847454 1 1 { 2 2 "name": "tec-paystack", 3 "version": "1.0. 2",3 "version": "1.0.3", 4 4 "description": "Paystack for The Events Calendar", 5 5 "scripts": { -
paystack-for-events-calendar/trunk/paystack-tec.php
r2846800 r2847454 5 5 * Description: Add-on for The Event Calendar that allows you to accept payments for event tickets via Paystack 6 6 * Author: Paystack 7 * Version: 1.0. 28 * Author URI: https:// www.lsdev.biz/7 * Version: 1.0.3 8 * Author URI: https://paystack.com/ 9 9 * License: GPL3 10 10 * Text Domain: paystack-for-events-calendar … … 20 20 define( 'PS_TEC_CORE', __FILE__ ); 21 21 define( 'PS_TEC_URL', plugin_dir_url( __FILE__ ) ); 22 define( 'PS_TEC_VER', '1.0. 2' );22 define( 'PS_TEC_VER', '1.0.3' ); 23 23 24 24 /* ======================= Below is the Plugin Class init ========================= */ -
paystack-for-events-calendar/trunk/paystack/admin-views/connect/active.php
r2846787 r2847454 1 1 <?php 2 2 /** 3 * The Template for displaying the Tickets Commerce Pay PalSettings when connected.3 * The Template for displaying the Tickets Commerce Paystack Settings when connected. 4 4 * 5 5 * @version 5.3.0 6 6 * 7 7 * @since 5.1.10 8 * @since 5.3.0 Using generic CSS classes for gateway instead of Pay Pal.8 * @since 5.3.0 Using generic CSS classes for gateway instead of Paystack. 9 9 * 10 10 * @var Tribe__Tickets__Admin__Views $this [Global] Template object. … … 29 29 ?> 30 30 31 <?php 32 $metadata_args = array( 33 'selected' => $merchant->get_prop( 'metadata' ), 34 ); 35 $this->template( 'paystack/admin-views/fields/metadata-options', $metadata_args ); 36 ?> 37 31 38 <fieldset id="tribe-field-ticket-display-tickets-left-threshold" class="tribe-field tribe-field-text tribe-size-small"> 32 39 <legend class="tribe-field-label"><?php echo esc_html_e( 'Webhooks', 'paystack-for-events-calendar' ); ?></legend> -
paystack-for-events-calendar/trunk/paystack/admin-views/connect/logo.php
r2846787 r2847454 1 1 <?php 2 2 /** 3 * The Template for displaying the Tickets Commerce Pay Pallogo and features.3 * The Template for displaying the Tickets Commerce Paystack logo and features. 4 4 * 5 5 * @version 5.3.0 6 6 * 7 7 * @since 5.1.10 8 * @since 5.3.0 Using generic CSS classes for gateway instead of Pay Pal.8 * @since 5.3.0 Using generic CSS classes for gateway instead of Paystack. 9 9 * 10 10 * @var Tribe__Tickets__Admin__Views $this [Global] Template object. 11 11 * @var string $plugin_url [Global] The plugin URL. 12 * @var TEC\Tickets\Commerce\Gateways\Pay Pal\Merchant $merchant [Global] The merchant class.13 * @var TEC\Tickets\Commerce\Gateways\Pay Pal\Signup $signup [Global] The Signup class.12 * @var TEC\Tickets\Commerce\Gateways\Paystack\Merchant $merchant [Global] The merchant class. 13 * @var TEC\Tickets\Commerce\Gateways\Paystack\Signup $signup [Global] The Signup class. 14 14 * @var bool $is_merchant_active [Global] Whether the merchant is active or not. 15 15 * @var bool $is_merchant_connected [Global] Whether the merchant is connected or not. … … 20 20 <div class="tec-tickets__admin-settings-tickets-commerce-gateway-logo"> 21 21 22 <?php $this->template( 'settings/tickets-commerce/pay pal/connect/logo/image' ); ?>22 <?php $this->template( 'settings/tickets-commerce/paystack/connect/logo/image' ); ?> 23 23 24 <?php $this->template( 'settings/tickets-commerce/pay pal/connect/logo/features' ); ?>24 <?php $this->template( 'settings/tickets-commerce/paystack/connect/logo/features' ); ?> 25 25 26 26 </div> -
paystack-for-events-calendar/trunk/paystack/admin-views/fields/country-select.php
r2846787 r2847454 5 5 'ZA' => esc_html__( 'South Africa', 'paystack-for-events-calendar' ), 6 6 ); 7 $default_country_code = \TEC\Tickets\Commerce\Gateways\Pay Pal\Location\Country::DEFAULT_COUNTRY_CODE;7 $default_country_code = \TEC\Tickets\Commerce\Gateways\Paystack\Location\Country::DEFAULT_COUNTRY_CODE; 8 8 $selected_country_code = $country_code; 9 9 if ( empty( $selected_country_code ) ) { -
paystack-for-events-calendar/trunk/paystack/admin-views/main.php
r2846787 r2847454 1 1 <?php 2 2 /** 3 * The Template for displaying the Tickets Commerce Pay PalSettings.3 * The Template for displaying the Tickets Commerce Paystack Settings. 4 4 * 5 5 * @version 5.3.0 6 6 * 7 7 * @since 5.1.10 8 * @since 5.3.0 Using generic CSS classes for gateway instead of Pay Pal.8 * @since 5.3.0 Using generic CSS classes for gateway instead of Paystack. 9 9 * 10 10 * @var Tribe__Tickets__Admin__Views $this [Global] Template object. -
paystack-for-events-calendar/trunk/paystack/checkout/container.php
r2846787 r2847454 1 1 <?php 2 2 /** 3 * Tickets Commerce: Pay PalCheckout container3 * Tickets Commerce: Paystack Checkout container 4 4 * 5 5 * Override this template in your own theme by creating a file at: 6 * [your-theme]/tribe/tickets/v2/commerce/gateway/pay pal/container.php6 * [your-theme]/tribe/tickets/v2/commerce/gateway/paystack/container.php 7 7 * 8 8 * See more documentation about our views templating system. -
paystack-for-events-calendar/trunk/paystack/checkout/fields/submit.php
r2846787 r2847454 1 1 <?php 2 2 /** 3 * Tickets Commerce: Checkout Advanced Payments for Pay Pal- Submit3 * Tickets Commerce: Checkout Advanced Payments for Paystack - Submit 4 4 * 5 5 * Override this template in your own theme by creating a file at: 6 * [your-theme]/tribe/tickets/v2/commerce/gateway/pay pal/advanced-payments/fields/submit.php6 * [your-theme]/tribe/tickets/v2/commerce/gateway/paystack/advanced-payments/fields/submit.php 7 7 * 8 8 * See more documentation about our views templating system. … … 20 20 $classes = [ 21 21 'tribe-common-c-btn', 22 'tribe-tickets__commerce-checkout-pay pal-advanced-payments-form-submit-button',22 'tribe-tickets__commerce-checkout-paystack-advanced-payments-form-submit-button', 23 23 ]; 24 24 -
paystack-for-events-calendar/trunk/paystack/checkout/order/details/capture-id.php
r2846787 r2847454 1 1 <?php 2 2 /** 3 * Tickets Commerce: Success Order Page Details > Pay Palcapture ID3 * Tickets Commerce: Success Order Page Details > Paystack capture ID 4 4 * 5 5 * Override this template in your own theme by creating a file at: 6 * [your-theme]/tribe/tickets/v2/commerce/gateway/pay pal/order/details/capture-id.php6 * [your-theme]/tribe/tickets/v2/commerce/gateway/paystack/order/details/capture-id.php 7 7 * 8 8 * See more documentation about our views templating system. … … 20 20 * @var int $order_id [Global] The order ID. 21 21 * @var bool $is_tec_active [Global] Whether `The Events Calendar` is active or not. 22 * @var string $capture_id Pay PalCapture ID for this order.22 * @var string $capture_id Paystack Capture ID for this order. 23 23 */ 24 24 … … 38 38 <div class="tribe-tickets__commerce-order-details-row"> 39 39 <div class="tribe-tickets__commerce-order-details-col1"> 40 <?php esc_html_e( 'Pay PalCapture ID:', 'paystack-for-events-calendar' ); ?>40 <?php esc_html_e( 'Paystack Capture ID:', 'paystack-for-events-calendar' ); ?> 41 41 </div> 42 42 <div class="tribe-tickets__commerce-order-details-col2"> -
paystack-for-events-calendar/trunk/readme.txt
r2846800 r2847454 2 2 Contributors: paystack, feedmymedia, krugazul, lightspeed 3 3 Tags: the events calendar, paystack, payment gateway 4 Requires at least: 6.1.14 Requires at least: 5.8.6 5 5 Tested up to: 6.1.1 6 Stable tag: 1.0. 26 Stable tag: 1.0.3 7 7 Requires PHP: 8.0 8 8 License: GPL3
Note: See TracChangeset
for help on using the changeset viewer.