Skip to content

Commit 31a266d

Browse files
author
Dan Nicole Lyton Fonte
committed
Updated to Fiuu rebranding.
1 parent 8fe9d8f commit 31a266d

219 files changed

Lines changed: 2373 additions & 2353 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33

44
<img src="https://user-images.githubusercontent.com/38641542/74420753-eacb5600-4e86-11ea-9389-5427e4c6840d.jpg">
55

6-
Razer Merchant Services Plugin for Wordpress developed by RMS technical team.
6+
Fiuu Plugin for Wordpress developed by RMS technical team.
77

88
Introduction
99
-----
1010

11-
This is Razer Merchant Services Woocommerce Plugin for Wordpress and ClassicPress Plugin for eCommerce. WooCommerce is an ecommerce plugin for WordPress. It makes creating and managing an online store simple, with reasonable levels of flexibility and several vital features such as inventory and tax management, secure payments and shipping integration
11+
This is Fiuu Woocommerce Plugin for Wordpress and ClassicPress Plugin for eCommerce. WooCommerce is an ecommerce plugin for WordPress. It makes creating and managing an online store simple, with reasonable levels of flexibility and several vital features such as inventory and tax management, secure payments and shipping integration
1212

1313
Notes / Prerequisite
1414
-----
1515

16-
Razer Merchant Services is not responsible for any problems that might arise from the use of this module.
16+
Fiuu is not responsible for any problems that might arise from the use of this module.
1717
Use at your own risk. Please backup any critical data before proceeding. For any query or
18-
assistance, please email support-sa@razer.com.
18+
assistance, please email support-sa@fiuu.com.
1919

2020

2121
Installations Guidance for Wordpress Plugin
@@ -39,28 +39,28 @@ You can contribute to this plugin by sending the pull request to this repository
3939

4040
## Resources
4141

42-
- GitHub: https://github.com/RazerMS
43-
- Website: https://merchant.razer.com/
44-
- Twitter: https://twitter.com/Razer_MS
45-
- YouTube: https://www.youtube.com/c/RazerMerchantServices
46-
- Facebook: https://www.facebook.com/RazerMerchantServices/
47-
- Instagram: https://www.instagram.com/RazerMerchantServices/
42+
- GitHub: https://github.com/FiuuPayment
43+
- Website: https://fiuu.com/
44+
- X: https://x.com/FiuuPayment
45+
- YouTube: https://www.youtube.com/@FiuuPayment
46+
- Facebook: https://www.facebook.com/FiuuPayment
47+
- Instagram: https://www.instagram.com/fiuupayment
4848

4949

5050
Issues
5151
------------
5252

53-
Submit issue to this repository or email to our support-sa@razer.com
53+
Submit issue to this repository or email to our support-sa@fiuu.com
5454

5555

5656
Contact Support
5757
-------
5858

59-
Merchant Technical Support / Customer Care : support-sa@razer.com <br>
60-
Sales/Reseller Enquiry : sales-sa@razer.com <br>
61-
Marketing Campaign : marketing-sa@razer.com <br>
62-
Channel/Partner Enquiry : channel-sa@razer.com <br>
63-
Media Contact : media-sa@razer.com <br>
64-
R&D and Tech-related Suggestion : technical-sa@razer.com <br>
65-
Abuse Reporting : abuse-sa@razer.com
59+
Merchant Technical Support / Customer Care : support-sa@fiuu.com <br>
60+
Sales/Reseller Enquiry : sales-sa@fiuu.com <br>
61+
Marketing Campaign : marketing-sa@fiuu.com <br>
62+
Channel/Partner Enquiry : channel-sa@fiuu.com <br>
63+
Media Contact : media-sa@fiuu.com <br>
64+
R&D and Tech-related Suggestion : technical-sa@fiuu.com <br>
65+
Abuse Reporting : abuse-sa@fiuu.com
6666

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change log for WooCommerce Razer Merchant Services Normal Plugin
22

3+
## Company Rebranding - July 19, 2024
4+
5+
- Rebranded to Fiuu
6+
37
## v3.0.2 - July 14, 2020
48

59
**Bug Fix:**

WooCommerce/CHANGELOG_RMS_SEAMLESS_SEQUENTIAL_ORDER_NUMBERS.md renamed to WooCommerce/CHANGELOG_FIUU_SEAMLESS_SEQUENTIAL_ORDER_NUMBERS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change log for WooCommerce Razer Merchant Services Seamless Plugin for Sequential Order Numbers
22

3+
## Company Rebranding - July 19, 2024
4+
5+
- Rebranded to Fiuu
6+
37
## v3.0.1 - Apr 21, 2020
48

59
- Release version 3.0.1

WooCommerce/CHANGELOG_RMS_SEAMLESS_SEQUENTIAL_ORDER_NUMBERS_PRO.md renamed to WooCommerce/CHANGELOG_FIUU_SEAMLESS_SEQUENTIAL_ORDER_NUMBERS_PRO.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change log for WooCommerce Razer Merchant Services Seamless Plugin for Sequential Order Numbers Pro
22

3+
## Company Rebranding - July 19, 2024
4+
5+
- Rebranded to Fiuu
6+
37
## v3.0.1 - Apr 21, 2020
48

59
- Release version 3.0.1
64.2 KB
Loading

WooCommerce/woocommerce_rms_normal/wc-molpay.php renamed to WooCommerce/woocommerce_fiuu_normal/wc-fiuu.php

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<?php
22
/**
3-
* Razer Merchant Services WooCommerce Shopping Cart Plugin
3+
* Fiuu WooCommerce Shopping Cart Plugin
44
*
5-
* @author Razer Merchant Services Technical Team <technical-sa@razer.com>
5+
* @author Fiuu Technical Team <technical-sa@razer.com>
66
* @version 7.7.0
77
* @example For callback : http://shoppingcarturl/?wc-api=WC_Molpay_Gateway
88
* @example For notification : http://shoppingcarturl/?wc-api=WC_Molpay_Gateway
99
*/
1010

1111
/**
12-
* Plugin Name: WooCommerce Razer Merchant Services Normal
12+
* Plugin Name: WooCommerce Fiuu Normal
1313
* Plugin URI: https://github.com/RazerMS/WordPress_WooCommerce_WP-eCommerce_ClassiPress
14-
* Description: WooCommerce Razer Merchant Services | The leading payment gateway in South East Asia Grow your business with Razer Merchant Services payment solutions & free features: Physical Payment at 7-Eleven, Seamless Checkout, Tokenization, Loyalty Program and more for WooCommerce
15-
* Author: Razer Merchant Services Tech Team
14+
* Description: WooCommerce Fiuu | The leading payment gateway in South East Asia Grow your business with Fiuu payment solutions & free features: Physical Payment at 7-Eleven, Seamless Checkout, Tokenization, Loyalty Program and more for WooCommerce
15+
* Author: Fiuu Tech Team
1616
* Author URI: https://merchant.razer.com/
1717
* Version: 7.7.0
1818
* License: MIT
19-
* Text Domain: wcmolpay
19+
* Text Domain: wc-fiuu
2020
* Domain Path: /languages/
2121
* For callback : http://shoppingcarturl/?wc-api=WC_Molpay_Gateway
2222
* For notification : http://shoppingcarturl/?wc-api=WC_Molpay_Gateway
@@ -29,7 +29,7 @@
2929
*/
3030
function wcmolpay_woocommerce_fallback_notice() {
3131
$message = '<div class="error">';
32-
$message .= '<p>' . __( 'WooCommerce Razer Merchant Services Gateway depends on the last version of <a href="http://wordpress.org/extend/plugins/woocommerce/">WooCommerce</a> to work!' , 'wcmolpay' ) . '</p>';
32+
$message .= '<p>' . __( 'WooCommerce Fiuu Gateway depends on the last version of <a href="http://wordpress.org/extend/plugins/woocommerce/">WooCommerce</a> to work!' , 'wcmolpay' ) . '</p>';
3333
$message .= '</div>';
3434
echo $message;
3535
}
@@ -38,7 +38,7 @@ function wcmolpay_woocommerce_fallback_notice() {
3838
add_action( 'plugins_loaded', 'wcmolpay_gateway_load', 0 );
3939

4040
/**
41-
* Load Razer Merchant Services gateway plugin function
41+
* Load Fiuu gateway plugin function
4242
*
4343
* @return mixed
4444
*/
@@ -54,7 +54,7 @@ function wcmolpay_gateway_load() {
5454
add_filter( 'woocommerce_payment_gateways', 'wcmolpay_add_gateway' );
5555

5656
/**
57-
* Add Razer Merchant Services gateway to ensure WooCommerce can load it
57+
* Add Fiuu gateway to ensure WooCommerce can load it
5858
*
5959
* @param array $methods
6060
* @return array
@@ -65,24 +65,24 @@ function wcmolpay_add_gateway( $methods ) {
6565
}
6666

6767
/**
68-
* Define the Razer Merchant Services gateway
68+
* Define the Fiuu gateway
6969
*
7070
*/
7171
class WC_Molpay_Gateway extends WC_Payment_Gateway {
7272

7373
/**
74-
* Construct the Razer Merchant Services gateway class
74+
* Construct the Fiuu gateway class
7575
*
7676
* @global mixed $woocommerce
7777
*/
7878
public function __construct() {
7979
global $woocommerce;
8080

8181
$this->id = 'molpay';
82-
$this->icon = plugins_url( 'images/logo_RazerMerchantServices.png', __FILE__ );
82+
$this->icon = plugins_url( 'images/Fiuu_Logo.png', __FILE__ );
8383
$this->has_fields = false;
84-
$this->method_title = __( 'Razer Merchant Services', 'wcmolpay' );
85-
$this->method_description = __( 'Proceed payment via Razer Merchant Services Normal Integration Plugin', 'woocommerce' );
84+
$this->method_title = __( 'Fiuu', 'wcmolpay' );
85+
$this->method_description = __( 'Proceed payment via Fiuu Normal Integration Plugin', 'woocommerce' );
8686

8787
// Load the form fields.
8888
$this->init_form_fields();
@@ -191,8 +191,8 @@ public function is_valid_for_use() {
191191
*/
192192
public function admin_options() {
193193
?>
194-
<h3><?php _e( 'Razer Merchant Services', 'wcmolpay' ); ?></h3>
195-
<p><?php _e( 'Razer Merchant Services works by sending the user to Razer Merchant Services to enter their payment information.', 'wcmolpay' ); ?></p>
194+
<h3><?php _e( 'Fiuu', 'wcmolpay' ); ?></h3>
195+
<p><?php _e( 'Fiuu works by sending the user to Fiuu to enter their payment information.', 'wcmolpay' ); ?></p>
196196
<table class="form-table">
197197
<?php $this->generate_settings_html(); ?>
198198
</table><!--/.form-table-->
@@ -208,7 +208,7 @@ public function init_form_fields() {
208208
'enabled' => array(
209209
'title' => __( 'Enable/Disable', 'wcmolpay' ),
210210
'type' => 'checkbox',
211-
'label' => __( 'Enable Razer Merchant Services', 'wcmolpay' ),
211+
'label' => __( 'Enable Fiuu', 'wcmolpay' ),
212212
'default' => 'yes'
213213
),
214214
'ordering_plugin' => array(
@@ -228,7 +228,7 @@ public function init_form_fields() {
228228
'title' => __( 'Title', 'wcmolpay' ),
229229
'type' => 'text',
230230
'description' => __( 'This controls the title which the user sees during checkout.', 'wcmolpay' ),
231-
'default' => __( 'Razer Merchant Services', 'wcmolpay' ),
231+
'default' => __( 'Fiuu', 'wcmolpay' ),
232232
'desc_tip' => true,
233233
),
234234
'payment_title' => array(
@@ -243,25 +243,25 @@ public function init_form_fields() {
243243
'title' => __( 'Description', 'wcmolpay' ),
244244
'type' => 'textarea',
245245
'description' => __( 'This controls the description which the user sees during checkout.', 'wcmolpay' ),
246-
'default' => __( 'Pay with Razer Merchant Services', 'wcmolpay' ),
246+
'default' => __( 'Pay with Fiuu', 'wcmolpay' ),
247247
'desc_tip' => true,
248248
),
249249
'merchant_id' => array(
250250
'title' => __( 'Merchant ID', 'wcmolpay' ),
251251
'type' => 'text',
252-
'description' => __( 'Please enter your Razer Merchant Services Merchant ID.', 'wcmolpay' ) . ' ' . sprintf( __( 'You can to get this information in: %sRazer Merchant Services Account%s.', 'wcmolpay' ), '<a href="https://portal.merchant.razer.com/" target="_blank">', '</a>' ),
252+
'description' => __( 'Please enter your Fiuu Merchant ID.', 'wcmolpay' ) . ' ' . sprintf( __( 'You can to get this information in: %sFiuu Account%s.', 'wcmolpay' ), '<a href="https://portal.merchant.razer.com/" target="_blank">', '</a>' ),
253253
'default' => ''
254254
),
255255
'verify_key' => array(
256256
'title' => __( 'Verify Key', 'wcmolpay' ),
257257
'type' => 'text',
258-
'description' => __( 'Please enter your Razer Merchant Services Verify Key.', 'wcmolpay' ) . ' ' . sprintf( __( 'You can to get this information in: %sRazer Merchant Services Account%s.', 'wcmolpay' ), '<a href="https://portal.merchant.razer.com/" target="_blank">', '</a>' ),
258+
'description' => __( 'Please enter your Fiuu Verify Key.', 'wcmolpay' ) . ' ' . sprintf( __( 'You can to get this information in: %sFiuu Account%s.', 'wcmolpay' ), '<a href="https://portal.merchant.razer.com/" target="_blank">', '</a>' ),
259259
'default' => ''
260260
),
261261
'secret_key' => array(
262262
'title' => __( 'Secret Key', 'wcmolpay' ),
263263
'type' => 'text',
264-
'description' => __( 'Please enter your Razer Merchant Services Secret Key.', 'wcmolpay' ) . ' ' . sprintf( __( 'You can to get this information in: %sRazer Merchant Services Account%s.', 'wcmolpay' ), '<a href="https://portal.merchant.razer.com/" target="_blank">', '</a>' ),
264+
'description' => __( 'Please enter your Fiuu Secret Key.', 'wcmolpay' ) . ' ' . sprintf( __( 'You can to get this information in: %sFiuu Account%s.', 'wcmolpay' ), '<a href="https://portal.merchant.razer.com/" target="_blank">', '</a>' ),
265265
'default' => ''
266266
),
267267
'account_type' => array(
@@ -365,7 +365,7 @@ public function receipt_page( $order ) {
365365
}
366366

367367
/**
368-
* Check for Razer Merchant Services Response
368+
* Check for Fiuu Response
369369
*
370370
* @access public
371371
* @return void
@@ -380,7 +380,7 @@ function check_ipn_response() {
380380
} else if ( $_POST['nbcb']=='2' ) {
381381
do_action ( "valid_molpay_request_notification", $_POST );
382382
} else {
383-
wp_die( "Razer Merchant Services Request Failure" );
383+
wp_die( "Fiuu Request Failure" );
384384
}
385385
}
386386

@@ -461,7 +461,7 @@ function check_molpay_response_callback() {
461461
*/
462462
public function merchant_id_missing_message() {
463463
$message = '<div class="error">';
464-
$message .= '<p>' . sprintf( __( '<strong>Gateway Disabled</strong> You should fill in your Merchant ID in Razer Merchant Services. %sClick here to configure!%s' , 'wcmolpay' ), '<a href="' . get_admin_url() . 'admin.php?page=wc-settings&tab=checkout&section=wc_molpay_gateway">', '</a>' ) . '</p>';
464+
$message .= '<p>' . sprintf( __( '<strong>Gateway Disabled</strong> You should fill in your Merchant ID in Fiuu. %sClick here to configure!%s' , 'wcmolpay' ), '<a href="' . get_admin_url() . 'admin.php?page=wc-settings&tab=checkout&section=wc_molpay_gateway">', '</a>' ) . '</p>';
465465
$message .= '</div>';
466466
echo $message;
467467
}
@@ -472,7 +472,7 @@ public function merchant_id_missing_message() {
472472
*/
473473
public function verify_key_missing_message() {
474474
$message = '<div class="error">';
475-
$message .= '<p>' . sprintf( __( '<strong>Gateway Disabled</strong> You should fill in your Verify Key in Razer Merchant Services. %sClick here to configure!%s' , 'wcmolpay' ), '<a href="' . get_admin_url() . 'admin.php?page=wc-settings&tab=checkout&section=wc_molpay_gateway">', '</a>' ) . '</p>';
475+
$message .= '<p>' . sprintf( __( '<strong>Gateway Disabled</strong> You should fill in your Verify Key in Fiuu. %sClick here to configure!%s' , 'wcmolpay' ), '<a href="' . get_admin_url() . 'admin.php?page=wc-settings&tab=checkout&section=wc_molpay_gateway">', '</a>' ) . '</p>';
476476
$message .= '</div>';
477477
echo $message;
478478
}
@@ -483,7 +483,7 @@ public function verify_key_missing_message() {
483483
*/
484484
public function secret_key_missing_message() {
485485
$message = '<div class="error">';
486-
$message .= '<p>' . sprintf( __( '<strong>Gateway Disabled</strong> You should fill in your Secret Key in Razer Merchant Services. %sClick here to configure!%s' , 'wcmolpay' ), '<a href="' . get_admin_url() . 'admin.php?page=wc-settings&tab=checkout&section=wc_molpay_gateway">', '</a>' ) . '</p>';
486+
$message .= '<p>' . sprintf( __( '<strong>Gateway Disabled</strong> You should fill in your Secret Key in Fiuu. %sClick here to configure!%s' , 'wcmolpay' ), '<a href="' . get_admin_url() . 'admin.php?page=wc-settings&tab=checkout&section=wc_molpay_gateway">', '</a>' ) . '</p>';
487487
$message .= '</div>';
488488
echo $message;
489489
}
@@ -494,7 +494,7 @@ public function secret_key_missing_message() {
494494
*/
495495
public function account_type_missing_message() {
496496
$message = '<div class="error">';
497-
$message .= '<p>' . sprintf( __( '<strong>Gateway Disabled</strong> Select account type in Razer Merchant Services. %sClick here to configure!%s' , 'wcmolpay' ), '<a href="' . get_admin_url() . 'admin.php?page=wc-settings&tab=checkout&section=wc_molpay_gateway">', '</a>' ) . '</p>';
497+
$message .= '<p>' . sprintf( __( '<strong>Gateway Disabled</strong> Select account type in Fiuu. %sClick here to configure!%s' , 'wcmolpay' ), '<a href="' . get_admin_url() . 'admin.php?page=wc-settings&tab=checkout&section=wc_molpay_gateway">', '</a>' ) . '</p>';
498498
$message .= '</div>';
499499
echo $message;
500500
}
@@ -542,7 +542,7 @@ public function inquiry_status($tranID, $amount, $domain) {
542542
}
543543

544544
/**
545-
* Update Cart based on Razer Merchant Services status
545+
* Update Cart based on Fiuu status
546546
*
547547
* @global mixed $woocommerce
548548
* @param int $order_id
@@ -602,11 +602,11 @@ public function update_Cart_by_Status($orderid, $MOLPay_status, $tranID, $refere
602602

603603
$getStatus = $order->get_status();
604604
if(!in_array($getStatus,array('processing','completed'))) {
605-
$order->add_order_note('Razer Merchant Services Payment Status: '.$M_status.'<br>Transaction ID: ' . $tranID . $referer);
605+
$order->add_order_note('Fiuu Payment Status: '.$M_status.'<br>Transaction ID: ' . $tranID . $referer);
606606
if ($MOLPay_status == "00") {
607607
$order->payment_complete();
608608
} else {
609-
$order->update_status($W_status, sprintf(__('Payment %s via Razer Merchant Services.', 'woocommerce'), $tranID ) );
609+
$order->update_status($W_status, sprintf(__('Payment %s via Fiuu.', 'woocommerce'), $tranID ) );
610610
}
611611
if ($this->payment_title == 'yes') {
612612
$paytitle = $this->payment_titles[strtolower($channel)];
64.2 KB
Loading

0 commit comments

Comments
 (0)