diff --git a/plugins/wagecan/index.html b/plugins/wagecan/index.html index d00c84c..d52974f 100644 --- a/plugins/wagecan/index.html +++ b/plugins/wagecan/index.html @@ -2,7 +2,7 @@ - WageCan Card Bitcoin Debit Card + WageCan Prepaid Card @@ -67,12 +67,12 @@
- +
-

WageCan card makes it easier for you to use Bitcoin in daily life

-
+

Use your Bitcoin in daily life, by converting to fiat currencies on your Wagecan prepaid card

+
@@ -86,7 +86,7 @@
-
- +
@@ -94,7 +94,7 @@
- +
@@ -110,11 +110,11 @@

- +
@@ -141,6 +141,11 @@ diff --git a/plugins/wagecan/js/main.js b/plugins/wagecan/js/main.js index bae4340..ef78810 100644 --- a/plugins/wagecan/js/main.js +++ b/plugins/wagecan/js/main.js @@ -3,7 +3,7 @@ const Msg_UnableCreateSpendRequest = 'Unable to creat the spend request. Please const Title_LoadCard = 'Load WageCan Card' const Title_Loading = 'Loading...' // Call Airbitz when user click top-up button -function initizeAirbitz() { +function initAirbitz() { var lastNumber = $('#card-number1').val() + $('#card-number2').val() || '' if(lastNumber.length !== 8) { return @@ -32,13 +32,13 @@ function initizeAirbitz() { } else { hideContentToggle() - $("#page").append( "

Sent Successfully!

" ); + $("#page").append( "

Sent Successfully!

" ); } // console.log(data); }, error: function() { hideContentToggle() - $("#page").append( "

Failed to send! Please try again later.

" ); + $("#page").append( "

Failed to send! Please try again later.

" ); } }) // end of createSpendRequest block @@ -47,7 +47,7 @@ function initizeAirbitz() { error:function () { airbitzWalletId = '' hideContentToggle() - $("#page").append( "

Unable get the selected wallet. Please try again later.

" ); + $("#page").append( "

Unable get the selected wallet. Please try again later.

" ); } }) } @@ -114,7 +114,7 @@ $(function(){ error:function () { airbitzWalletId = '' hideContentToggle() - $("#page").append( "

Unable get the selected wallet. Please try again later.

" ); + $("#page").append( "

Unable get the selected wallet. Please try again later.

" ); } }) }); @@ -134,7 +134,7 @@ function getAddressInfo(){ currency = '' address = '' $.ajax({ - url: 'https://wagecan.com/airbitz/topup/address', + url: 'https://wagecan.com/app/airbitz/topup/address', dataType: 'json', type: 'post', data: { @@ -180,7 +180,7 @@ function updateRates(){ $('#rate').text('N/A') } $.ajax({ - url: 'https://wagecan.com/airbitz/topup/rate', + url: 'https://wagecan.com/app/airbitz/topup/rate', type: 'get', dataType: 'JSON', cache: false, @@ -282,7 +282,7 @@ function toSatoshi(val){ function displayURL() { hideContentToggle() - $("#page").append( "

Please copy and open it in your browser:
https://wagecan.com/s/AIRBITZ

" ); + $("#page").append( "

Please copy and open it in your browser:
https://wagecan.com/s/AIRBITZ

" ); } function openRefCodeURL() {