Plugin Directory

Changeset 3133358


Ignore:
Timestamp:
08/09/2024 11:36:03 PM (20 months ago)
Author:
weeconnectpay
Message:

Deploying version 3.11.0 from pipeline

Location:
weeconnectpay
Files:
608 added
12 edited

Legend:

Unmodified
Added
Removed
  • weeconnectpay/trunk/README.txt

    r3117258 r3133358  
    66Author: WeeConnectPay
    77Contributors: weeconnectpay
    8 Stable Tag: 3.10.7
     8Stable Tag: 3.11.0
    99Requires at least: 5.6
    10 Tested Up To: 6.5.5
     10Tested Up To: 6.6.1
    1111Requires PHP: 7.2
    1212Text Domain: weeconnectpay
     
    1616Requires Plugins: woocommerce
    1717WC requires at least: 3.0.4
    18 WC tested up to: 9.1.2
     18WC tested up to: 9.1.4
    1919
    2020Accept payments easily and quickly with the Clover online Payment gateway by WeeConnectPay.
     
    125125
    126126== Changelog ==
     127= 3.11.0 =
     128* Updated plugin to log the merchant out if the WeeConnectPay API key is invalidated or expired -- We now email your Clover Employee (Also to the Clover Merchant Owner If they are not the same) to notify you and give you a link to reconnect
     129
    127130= 3.10.7 =
    128131* Added clickable Clover receipt links to WooCommerce order notes
  • weeconnectpay/trunk/dist/js/app.js

    r2769072 r3133358  
    1 (function(e){function t(t){for(var c,i,o=t[0],s=t[1],l=t[2],p=0,d=[];p<o.length;p++)i=o[p],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&d.push(r[i][0]),r[i]=0;for(c in s)Object.prototype.hasOwnProperty.call(s,c)&&(e[c]=s[c]);u&&u(t);while(d.length)d.shift()();return a.push.apply(a,l||[]),n()}function n(){for(var e,t=0;t<a.length;t++){for(var n=a[t],c=!0,o=1;o<n.length;o++){var s=n[o];0!==r[s]&&(c=!1)}c&&(a.splice(t--,1),e=i(i.s=n[0]))}return e}var c={},r={app:0},a=[];function i(t){if(c[t])return c[t].exports;var n=c[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=c,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)i.d(n,c,function(t){return e[t]}.bind(null,c));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/";var o=window["webpackJsonp"]=window["webpackJsonp"]||[],s=o.push.bind(o);o.push=t,o=o.slice();for(var l=0;l<o.length;l++)t(o[l]);var u=s;a.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"1cb3":function(e,t,n){"use strict";n("ed5a")},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var c=n("830f"),r=n("5c40");function a(e,t,n,c,a,i){var o=Object(r["r"])("SplitScreenSignIn");return Object(r["o"])(),Object(r["d"])(o)}var i=n("bc3a"),o=n.n(i),s=n("9ff4");const l=Object(r["x"])("data-v-62af4e32");Object(r["q"])("data-v-62af4e32");const u={class:"min-h-screen bg-white flex"},p={class:"flex-1 flex flex-col justify-center py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24"},d={class:"mx-auto w-full max-w-sm lg:w-96"},f=Object(r["i"])("h2",{class:"mt-6 text-3xl font-extrabold text-gray-900"}," Sign in to your account ",-1),b=Object(r["i"])("p",{class:"mt-2 text-sm text-gray-600"},[Object(r["h"])(" Or "+Object(s["J"])(" ")+" ",1),Object(r["i"])("a",{href:"https://weeconnectpay.com/register/",class:"font-medium text-indigo-600 hover:text-indigo-500"}," start your 14-day free trial ")],-1),v={class:"mt-8"},g=Object(r["i"])("p",{class:"text-sm font-medium text-gray-700"}," Sign in with ",-1),h={class:"mt-1"},m={class:"inline-flex justify-center w-2/5"},y=Object(r["i"])("span",{class:"sr-only"},"Sign in with Clover",-1),j=Object(r["i"])("svg",{"aria-hidden":"true",viewBox:"0 0 88 22"},[Object(r["i"])("path",{class:"st0",d:"M36.3 14.6c-1.4 1.7-3.4 2.8-5.6 2.8-3.8 0-6.8-2.7-6.8-6.2 0-1.7.7-3.3 2-4.5 1.2-1.2 2.9-1.8 4.6-1.7 2.2 0 4.3 1 5.6 2.8l-2.5 1.8c-.7-1.1-1.8-1.8-3.1-1.8-1.9 0-3.5 1.6-3.5 3.5.1 2 1.7 3.5 3.6 3.5 1.3 0 2.5-.6 3.2-1.7l2.5 1.5zM37.7 0h3.1v17.1h-3.1zM49.1 14.7c2 0 3.7-1.6 3.8-3.6-.1-2-1.8-3.6-3.8-3.6s-3.7 1.6-3.8 3.6c.1 2 1.7 3.6 3.8 3.6m0-9.8c1.7-.1 3.4.5 4.7 1.7 1.3 1.2 2 2.8 2.1 4.5-.1 1.7-.8 3.4-2.1 4.5-1.3 1.2-3 1.8-4.7 1.7-3.8 0-6.8-2.7-6.8-6.2s3-6.2 6.8-6.2M55.3 5.1H59l3 6.4 3.2-6.4h3.4L62 17.8zM77.5 9.4c-.5-1.2-1.6-1.9-2.9-1.9-1.3 0-2.5.7-3.1 1.9h6zm2 6.3c-1.3 1.1-2.9 1.6-4.6 1.6-3.8 0-6.8-2.7-6.8-6.2 0-1.7.7-3.3 1.9-4.5 1.2-1.2 2.9-1.8 4.6-1.7 1.7-.1 3.3.6 4.5 1.8s1.8 2.8 1.7 4.5v.8h-9.6c.5 1.6 2 2.7 3.7 2.7 1 0 2-.4 2.8-1.2l1.8 2.2zm2.8-5.3c0-2.9 2.2-5.2 5.7-5.2V8c-.7 0-1.5.3-2 .8s-.7 1.3-.6 2v6.3h-3.1v-6.7z",style:{fill:"#5a5a5a"}}),Object(r["i"])("path",{d:"M9.7 5.6c0-2-1.2-3.7-3-4.5s-3.9-.4-5.3 1S-.4 5.6.3 7.4s2.5 3 4.5 3h4.9V5.6zm1.4 0c0-2 1.2-3.7 3-4.5s3.9-.4 5.3 1 1.8 3.5 1.1 5.3-2.5 3-4.5 3h-4.9V5.6zm0 11c0 2 1.2 3.7 3 4.5 1.8.8 3.9.4 5.3-1s1.8-3.5 1.1-5.3-2.5-3-4.5-3h-4.9v4.8zm-6.3 3.5c1.9 0 3.5-1.5 3.5-3.5v-3.5H4.8c-1.9 0-3.5 1.5-3.5 3.5s1.6 3.5 3.5 3.5zm4.9-3.5c0 2-1.2 3.7-3 4.5-1.8.8-3.9.4-5.3-1S-.4 16.6.3 14.8s2.5-3 4.5-3h4.9v4.8z",style:{fill:"#280"}})],-1),x=Object(r["g"])('<div class="mt-6 relative" data-v-62af4e32><div class="absolute inset-0 flex items-center" aria-hidden="true" data-v-62af4e32><div class="w-full border-t border-gray-300" data-v-62af4e32></div></div><div class="relative flex justify-center text-sm" data-v-62af4e32><span class="px-2 bg-white text-gray-500" data-v-62af4e32> Or </span></div></div>',1),O=Object(r["i"])("div",{class:"mt-6"},[Object(r["i"])("a",{href:"https://weeconnectpay.com/register/"},[Object(r["i"])("button",{type:"button",class:"w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white  hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2",style:{"background-color":"#59B210"}}," Create an account ")])],-1),w={class:"hidden lg:block relative w-0 flex-1"};Object(r["p"])();const S=l((function(e,t,n,c,a,i){return Object(r["o"])(),Object(r["d"])("div",u,[Object(r["i"])("div",p,[Object(r["i"])("div",d,[Object(r["i"])("div",null,[Object(r["i"])("img",{class:"h-36 w-auto mx-auto",src:i.weeconnectpayLogoSrc,alt:"weeconnectpay-logo"},null,8,["src"]),f,b]),Object(r["i"])("div",v,[Object(r["i"])("div",null,[Object(r["i"])("div",null,[g,Object(r["i"])("div",h,[Object(r["i"])("div",m,[Object(r["i"])("a",{href:c.authRedirect,class:"w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-md shadow-sm bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"},[y,j],8,["href"])])])]),x]),O])])]),Object(r["i"])("div",w,[Object(r["i"])("img",{class:"absolute inset-0 h-full w-full object-cover",src:i.signInCoverSrc,alt:"weeconnectpay-sign-in-cover"},null,8,["src"])])])}));var z=n("76a9"),I=n.n(z),M=n("d0bb"),P=n.n(M),A={name:"SplitScreenSignIn",props:[],setup(){let e=weeconnectpayVueData.redirectUrl;return{WeeConnectPayLogoSrc:I.a,SignInCover:P.a,authRedirect:e}},mounted(){},computed:{weeconnectpayLogoSrc(){return weeconnectpayVueData.pluginUrl+"dist"+I.a},signInCoverSrc(){return weeconnectpayVueData.pluginUrl+"dist"+P.a}}},C=(n("fa30"),n("6b0d")),L=n.n(C);const _=L()(A,[["render",S],["__scopeId","data-v-62af4e32"]]);var U,V,k=_;U=weeconnectpayVueData.pluginUrl,V="https://apidev.weeconnectpay.com";var R=U,D=V,J=o.a.create({baseURL:D,headers:{Accept:"application/json",Authorization:"bearer "+localStorage.getItem("authToken")}}),T=o.a.create({baseURL:D,header:{Accept:"application/json"}}),B=o.a.create({baseURL:R,header:{Accept:"application/json"}}),H={name:"App",components:{SplitScreenSignIn:k},provide:{httpApi:J,httpPublicApi:T,httpIntegrationApi:B}};n("1cb3");const W=L()(H,[["render",a]]);var q=W;n("b972");Object(c["a"])(q).mount("#weeconnectpay-app")},"76a9":function(e,t,n){e.exports=n.p+"img/WeeConnectPayLogo.svg"},"8d51":function(e,t,n){},d0bb:function(e,t,n){e.exports=n.p+"img/SignInCover.webp"},ed5a:function(e,t,n){},fa30:function(e,t,n){"use strict";n("8d51")}});
     1(function(e){function t(t){for(var c,o,i=t[0],s=t[1],l=t[2],p=0,d=[];p<i.length;p++)o=i[p],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(c in s)Object.prototype.hasOwnProperty.call(s,c)&&(e[c]=s[c]);u&&u(t);while(d.length)d.shift()();return r.push.apply(r,l||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],c=!0,i=1;i<n.length;i++){var s=n[i];0!==a[s]&&(c=!1)}c&&(r.splice(t--,1),e=o(o.s=n[0]))}return e}var c={},a={app:0},r=[];function o(t){if(c[t])return c[t].exports;var n=c[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=c,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)o.d(n,c,function(t){return e[t]}.bind(null,c));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var i=window["webpackJsonp"]=window["webpackJsonp"]||[],s=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var u=s;r.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var c=n("830f"),a=n("5c40");function r(e,t,n,c,r,o){var i=Object(a["r"])("SplitScreenSignIn");return Object(a["o"])(),Object(a["d"])(i)}var o=n("bc3a"),i=n.n(o),s=n("9ff4");const l=Object(a["x"])("data-v-62af4e32");Object(a["q"])("data-v-62af4e32");const u={class:"min-h-screen bg-white flex"},p={class:"flex-1 flex flex-col justify-center py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24"},d={class:"mx-auto w-full max-w-sm lg:w-96"},f=Object(a["i"])("h2",{class:"mt-6 text-3xl font-extrabold text-gray-900"}," Sign in to your account ",-1),b=Object(a["i"])("p",{class:"mt-2 text-sm text-gray-600"},[Object(a["h"])(" Or "+Object(s["J"])(" ")+" ",1),Object(a["i"])("a",{href:"https://weeconnectpay.com/register/",class:"font-medium text-indigo-600 hover:text-indigo-500"}," start your 14-day free trial ")],-1),v={class:"mt-8"},g=Object(a["i"])("p",{class:"text-sm font-medium text-gray-700"}," Sign in with ",-1),h={class:"mt-1"},y={class:"inline-flex justify-center w-2/5"},m=Object(a["i"])("span",{class:"sr-only"},"Sign in with Clover",-1),j=Object(a["i"])("svg",{"aria-hidden":"true",viewBox:"0 0 88 22"},[Object(a["i"])("path",{class:"st0",d:"M36.3 14.6c-1.4 1.7-3.4 2.8-5.6 2.8-3.8 0-6.8-2.7-6.8-6.2 0-1.7.7-3.3 2-4.5 1.2-1.2 2.9-1.8 4.6-1.7 2.2 0 4.3 1 5.6 2.8l-2.5 1.8c-.7-1.1-1.8-1.8-3.1-1.8-1.9 0-3.5 1.6-3.5 3.5.1 2 1.7 3.5 3.6 3.5 1.3 0 2.5-.6 3.2-1.7l2.5 1.5zM37.7 0h3.1v17.1h-3.1zM49.1 14.7c2 0 3.7-1.6 3.8-3.6-.1-2-1.8-3.6-3.8-3.6s-3.7 1.6-3.8 3.6c.1 2 1.7 3.6 3.8 3.6m0-9.8c1.7-.1 3.4.5 4.7 1.7 1.3 1.2 2 2.8 2.1 4.5-.1 1.7-.8 3.4-2.1 4.5-1.3 1.2-3 1.8-4.7 1.7-3.8 0-6.8-2.7-6.8-6.2s3-6.2 6.8-6.2M55.3 5.1H59l3 6.4 3.2-6.4h3.4L62 17.8zM77.5 9.4c-.5-1.2-1.6-1.9-2.9-1.9-1.3 0-2.5.7-3.1 1.9h6zm2 6.3c-1.3 1.1-2.9 1.6-4.6 1.6-3.8 0-6.8-2.7-6.8-6.2 0-1.7.7-3.3 1.9-4.5 1.2-1.2 2.9-1.8 4.6-1.7 1.7-.1 3.3.6 4.5 1.8s1.8 2.8 1.7 4.5v.8h-9.6c.5 1.6 2 2.7 3.7 2.7 1 0 2-.4 2.8-1.2l1.8 2.2zm2.8-5.3c0-2.9 2.2-5.2 5.7-5.2V8c-.7 0-1.5.3-2 .8s-.7 1.3-.6 2v6.3h-3.1v-6.7z",style:{fill:"#5a5a5a"}}),Object(a["i"])("path",{d:"M9.7 5.6c0-2-1.2-3.7-3-4.5s-3.9-.4-5.3 1S-.4 5.6.3 7.4s2.5 3 4.5 3h4.9V5.6zm1.4 0c0-2 1.2-3.7 3-4.5s3.9-.4 5.3 1 1.8 3.5 1.1 5.3-2.5 3-4.5 3h-4.9V5.6zm0 11c0 2 1.2 3.7 3 4.5 1.8.8 3.9.4 5.3-1s1.8-3.5 1.1-5.3-2.5-3-4.5-3h-4.9v4.8zm-6.3 3.5c1.9 0 3.5-1.5 3.5-3.5v-3.5H4.8c-1.9 0-3.5 1.5-3.5 3.5s1.6 3.5 3.5 3.5zm4.9-3.5c0 2-1.2 3.7-3 4.5-1.8.8-3.9.4-5.3-1S-.4 16.6.3 14.8s2.5-3 4.5-3h4.9v4.8z",style:{fill:"#280"}})],-1),x=Object(a["g"])('<div class="mt-6 relative" data-v-62af4e32><div class="absolute inset-0 flex items-center" aria-hidden="true" data-v-62af4e32><div class="w-full border-t border-gray-300" data-v-62af4e32></div></div><div class="relative flex justify-center text-sm" data-v-62af4e32><span class="px-2 bg-white text-gray-500" data-v-62af4e32> Or </span></div></div>',1),O=Object(a["i"])("div",{class:"mt-6"},[Object(a["i"])("a",{href:"https://weeconnectpay.com/register/"},[Object(a["i"])("button",{type:"button",class:"w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white  hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2",style:{"background-color":"#59B210"}}," Create an account ")])],-1),w={class:"hidden lg:block relative w-0 flex-1"};Object(a["p"])();const S=l((function(e,t,n,c,r,o){return Object(a["o"])(),Object(a["d"])("div",u,[Object(a["i"])("div",p,[Object(a["i"])("div",d,[Object(a["i"])("div",null,[Object(a["i"])("img",{class:"h-36 w-auto mx-auto",src:o.weeconnectpayLogoSrc,alt:"weeconnectpay-logo"},null,8,["src"]),f,b]),Object(a["i"])("div",v,[Object(a["i"])("div",null,[Object(a["i"])("div",null,[g,Object(a["i"])("div",h,[Object(a["i"])("div",y,[Object(a["i"])("a",{href:c.authRedirect,class:"w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-md shadow-sm bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"},[m,j],8,["href"])])])]),x]),O])])]),Object(a["i"])("div",w,[Object(a["i"])("img",{class:"absolute inset-0 h-full w-full object-cover",src:o.signInCoverSrc,alt:"weeconnectpay-sign-in-cover"},null,8,["src"])])])}));var z=n("76a9"),k=n.n(z),I=n("d0bb"),M=n.n(I),P={name:"SplitScreenSignIn",props:[],setup(){let e=weeconnectpayVueData.redirectUrl;return{WeeConnectPayLogoSrc:k.a,SignInCover:M.a,authRedirect:e}},mounted(){},computed:{weeconnectpayLogoSrc(){return weeconnectpayVueData.pluginUrl+"dist"+k.a},signInCoverSrc(){return weeconnectpayVueData.pluginUrl+"dist"+M.a}}},U=(n("fa30"),n("6b0d")),V=n.n(U);const A=V()(P,[["render",S],["__scopeId","data-v-62af4e32"]]);var C,L,_=A;weeconnectpayVueData.gitpodBackendWorkspaceUrl?(L=weeconnectpayVueData.gitpodBackendWorkspaceUrl,C=weeconnectpayVueData.pluginUrl):(C=weeconnectpayVueData.pluginUrl,L="https://apidev.weeconnectpay.com");var D=C,R=L,B=i.a.create({baseURL:R,headers:{Accept:"application/json",Authorization:"bearer "+localStorage.getItem("authToken")}}),W=i.a.create({baseURL:R,header:{Accept:"application/json"}}),J=i.a.create({baseURL:D,header:{Accept:"application/json"}}),T={name:"App",components:{SplitScreenSignIn:_},provide:{httpApi:B,httpPublicApi:W,httpIntegrationApi:J}};n("b77b");const H=V()(T,[["render",r]]);var q=H;n("b972");Object(c["a"])(q).mount("#weeconnectpay-app")},6303:function(e,t,n){},"76a9":function(e,t,n){e.exports=n.p+"img/WeeConnectPayLogo.svg"},"8d51":function(e,t,n){},b77b:function(e,t,n){"use strict";n("6303")},d0bb:function(e,t,n){e.exports=n.p+"img/SignInCover.webp"},fa30:function(e,t,n){"use strict";n("8d51")}});
    22//# sourceMappingURL=app.js.map
  • weeconnectpay/trunk/dist/js/app.js.map

    r2769072 r3133358  
    1 {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?7cc5","webpack:///./src/App.vue","webpack:///./src/components/SplitScreenSignIn.vue","webpack:///./src/components/SplitScreenSignIn.vue?9150","webpack:///./src/App.vue?dfb6","webpack:///./src/main.js","webpack:///./src/assets/WeeConnectPayLogo.svg","webpack:///./src/assets/SignInCover.webp","webpack:///./src/components/SplitScreenSignIn.vue?53a6"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_createBlock","_component_SplitScreenSignIn","class","href","aria-hidden","viewBox","style","type","src","weeconnectpayLogoSrc","alt","authRedirect","signInCoverSrc","props","weeconnectpayVueData","redirectUrl","WeeConnectPayLogoSrc","SignInCover","computed","pluginUrl","__exports__","_integrationApiBaseUrl","_apiBaseUrl","integrationApiBaseUrl","apiBaseUrl","weeconnectpayApi","axios","baseURL","headers","Accept","Authorization","localStorage","getItem","weeconnectpayPublicApi","header","pluginApi","components","SplitScreenSignIn","provide","httpApi","httpPublicApi","http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AA9GA,MAAM,8CAA+CM,IAAK,EAAAI,eAAgBF,IAAI,+B,qEAS1E,GACbnC,KAAM,oBACNsC,MAAO,GACP,QAEE,IAAIF,EAAeG,qBAAqBC,YAExC,MAAO,CACLC,qBAAA,IACAC,YAAA,IACAN,iBAGJ,YAEAO,SAAU,CACR,uBAMM,OAAOJ,qBAAqBK,UAAY,OAAS,KAGvD,iBAMI,OAAOL,qBAAqBK,UAAY,OAAS,O,iCCvGzD,MAAMC,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS,GAAQ,CAAC,YAAY,qBAE1E,IFAXC,EACAC,EEDW,IFQbD,EAAyBP,qBAAqBK,UAC9CG,EAAc,mCAEhB,IAAMC,EAAwBF,EACxBG,EAAaF,EAGbG,EAAmBC,IAAMrC,OAAO,CACpCsC,QAASH,EACTI,QAAS,CACPC,OAAQ,mBACRC,cAAe,UAAYC,aAAaC,QAAQ,gBAI9CC,EAAyBP,IAAMrC,OAAO,CAC1CsC,QAASH,EACTU,OAAQ,CAACL,OAAQ,sBAGbM,EAAYT,IAAMrC,OAAO,CAC7BsC,QAASJ,EACTW,OAAQ,CAACL,OAAQ,sBAIJ,GACbtD,KAAM,MACN6D,WAAY,CAGVC,qBAEFC,QAAS,CACPC,QAASd,EACTe,cAAeP,EACfQ,mBAAoBN,I,UG9CxB,MAAM,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS,KAErD,Q,UCJfO,eAAUC,GAAKC,MAAM,uB,uBCLrB1E,EAAOD,QAAU,IAA0B,6B,8CCA3CC,EAAOD,QAAU,IAA0B,wB,yDCA3C","file":"js/app.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader-v16/dist/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./App.vue?vue&type=style&index=0&id=4685c45b&lang=css\"","<template>\n  <SplitScreenSignIn/>\n</template>\n\n<script>\nimport axios from 'axios';\nimport SplitScreenSignIn from './components/SplitScreenSignIn.vue'\n\n\nlet _integrationApiBaseUrl;\nlet _apiBaseUrl;\nif (process.env.NODE_ENV === 'development') {\n  _apiBaseUrl = 'https://weeconnect-api.test';\n  _integrationApiBaseUrl = 'https://weeconnect-wp.test';\n} else {\n  // We import it from WP localize script.\n  // eslint-disable-next-line no-undef\n  _integrationApiBaseUrl = weeconnectpayVueData.pluginUrl;\n  _apiBaseUrl = 'https://apidev.weeconnectpay.com';\n}\nconst integrationApiBaseUrl = _integrationApiBaseUrl;\nconst apiBaseUrl = _apiBaseUrl;\n\n\nconst weeconnectpayApi = axios.create({\n  baseURL: apiBaseUrl,\n  headers: {\n    Accept: 'application/json',\n    Authorization: 'bearer ' + localStorage.getItem(\"authToken\")\n  }\n})\n\nconst weeconnectpayPublicApi = axios.create({\n  baseURL: apiBaseUrl,\n  header: {Accept: 'application/json'}\n})\n\nconst pluginApi = axios.create({\n  baseURL: integrationApiBaseUrl,\n  header: {Accept: 'application/json'}\n})\n\n\nexport default {\n  name: 'App',\n  components: {\n    //HelloWorld,\n    //SimpleCardSignIn,\n    SplitScreenSignIn\n  },\n  provide: {\n    httpApi: weeconnectpayApi,\n    httpPublicApi: weeconnectpayPublicApi,\n    httpIntegrationApi: pluginApi,\n  },\n}\n</script>\n\n<style>\n#weeconnectpay-app {\n  font-family: Avenir, Helvetica, Arial, sans-serif;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  text-align: center;\n  color: #2c3e50;\n}\n</style>\n","<template>\n  <div class=\"min-h-screen bg-white flex\">\n    <div class=\"flex-1 flex flex-col justify-center py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24\">\n      <div class=\"mx-auto w-full max-w-sm lg:w-96\">\n        <div>\n          <img class=\"h-36 w-auto mx-auto\" :src=\"weeconnectpayLogoSrc\" alt=\"weeconnectpay-logo\" />\n          <h2 class=\"mt-6 text-3xl font-extrabold text-gray-900\">\n            Sign in to your account\n          </h2>\n          <p class=\"mt-2 text-sm text-gray-600\">\n            Or\n            {{ ' ' }}\n            <a href=\"https://weeconnectpay.com/register/\" class=\"font-medium text-indigo-600 hover:text-indigo-500\">\n              start your 14-day free trial\n            </a>\n          </p>\n        </div>\n\n        <div class=\"mt-8\">\n          <div>\n            <div>\n              <p class=\"text-sm font-medium text-gray-700\">\n                Sign in with\n              </p>\n\n              <div class=\"mt-1\">\n                <div class=\"inline-flex justify-center w-2/5\">\n                  <a :href=\"authRedirect\" class=\"w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-md shadow-sm bg-white text-sm font-medium text-gray-500 hover:bg-gray-50\">\n                    <span class=\"sr-only\">Sign in with Clover</span>\n                    <svg aria-hidden=\"true\" viewBox=\"0 0 88 22\">\n                      <path class=\"st0\"\n                            d=\"M36.3 14.6c-1.4 1.7-3.4 2.8-5.6 2.8-3.8 0-6.8-2.7-6.8-6.2 0-1.7.7-3.3 2-4.5 1.2-1.2 2.9-1.8 4.6-1.7 2.2 0 4.3 1 5.6 2.8l-2.5 1.8c-.7-1.1-1.8-1.8-3.1-1.8-1.9 0-3.5 1.6-3.5 3.5.1 2 1.7 3.5 3.6 3.5 1.3 0 2.5-.6 3.2-1.7l2.5 1.5zM37.7 0h3.1v17.1h-3.1zM49.1 14.7c2 0 3.7-1.6 3.8-3.6-.1-2-1.8-3.6-3.8-3.6s-3.7 1.6-3.8 3.6c.1 2 1.7 3.6 3.8 3.6m0-9.8c1.7-.1 3.4.5 4.7 1.7 1.3 1.2 2 2.8 2.1 4.5-.1 1.7-.8 3.4-2.1 4.5-1.3 1.2-3 1.8-4.7 1.7-3.8 0-6.8-2.7-6.8-6.2s3-6.2 6.8-6.2M55.3 5.1H59l3 6.4 3.2-6.4h3.4L62 17.8zM77.5 9.4c-.5-1.2-1.6-1.9-2.9-1.9-1.3 0-2.5.7-3.1 1.9h6zm2 6.3c-1.3 1.1-2.9 1.6-4.6 1.6-3.8 0-6.8-2.7-6.8-6.2 0-1.7.7-3.3 1.9-4.5 1.2-1.2 2.9-1.8 4.6-1.7 1.7-.1 3.3.6 4.5 1.8s1.8 2.8 1.7 4.5v.8h-9.6c.5 1.6 2 2.7 3.7 2.7 1 0 2-.4 2.8-1.2l1.8 2.2zm2.8-5.3c0-2.9 2.2-5.2 5.7-5.2V8c-.7 0-1.5.3-2 .8s-.7 1.3-.6 2v6.3h-3.1v-6.7z\"\n                            style=\"fill:#5a5a5a\"/>\n                      <path d=\"M9.7 5.6c0-2-1.2-3.7-3-4.5s-3.9-.4-5.3 1S-.4 5.6.3 7.4s2.5 3 4.5 3h4.9V5.6zm1.4 0c0-2 1.2-3.7 3-4.5s3.9-.4 5.3 1 1.8 3.5 1.1 5.3-2.5 3-4.5 3h-4.9V5.6zm0 11c0 2 1.2 3.7 3 4.5 1.8.8 3.9.4 5.3-1s1.8-3.5 1.1-5.3-2.5-3-4.5-3h-4.9v4.8zm-6.3 3.5c1.9 0 3.5-1.5 3.5-3.5v-3.5H4.8c-1.9 0-3.5 1.5-3.5 3.5s1.6 3.5 3.5 3.5zm4.9-3.5c0 2-1.2 3.7-3 4.5-1.8.8-3.9.4-5.3-1S-.4 16.6.3 14.8s2.5-3 4.5-3h4.9v4.8z\"\n                            style=\"fill:#280\"/>\n                    </svg>\n                  </a>\n                </div>\n              </div>\n            </div>\n\n            <div class=\"mt-6 relative\">\n              <div class=\"absolute inset-0 flex items-center\" aria-hidden=\"true\">\n                <div class=\"w-full border-t border-gray-300\" />\n              </div>\n              <div class=\"relative flex justify-center text-sm\">\n                <span class=\"px-2 bg-white text-gray-500\">\n                  Or\n                </span>\n              </div>\n            </div>\n          </div>\n\n          <div class=\"mt-6\">\n            <!--          #59B210     // bg-indigo-600 -->\n            <a href=\"https://weeconnectpay.com/register/\">\n              <button type=\"button\"\n                      class=\"w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white  hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2\"\n                      style=\"background-color: #59B210\">\n                Create an account\n              </button>\n            </a>\n\n\n</div>\n\n        </div>\n      </div>\n    </div>\n    <div class=\"hidden lg:block relative w-0 flex-1\">\n      <img class=\"absolute inset-0 h-full w-full object-cover\" :src=\"signInCoverSrc\" alt=\"weeconnectpay-sign-in-cover\" />\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\nimport WeeConnectPayLogoSrc from \"@/assets/WeeConnectPayLogo.svg\";\nimport SignInCover from \"@/assets/SignInCover.webp\";\n\nexport default {\n  name: \"SplitScreenSignIn\",\n  props: [],\n  setup() {\n    // eslint-disable-next-line no-undef\n    let authRedirect = weeconnectpayVueData.redirectUrl;\n\n    return {\n      WeeConnectPayLogoSrc,\n      SignInCover,\n      authRedirect\n    };\n  },\n  mounted() {\n  },\n  computed: {\n    weeconnectpayLogoSrc () {\n      if (process.env.NODE_ENV === 'development') {\n        return WeeConnectPayLogoSrc;\n      } else {\n          // We import it from WP localize script.\n          // eslint-disable-next-line no-undef\n          return weeconnectpayVueData.pluginUrl + 'dist' + WeeConnectPayLogoSrc; // the module request\n        }\n      },\n    signInCoverSrc () {\n      if (process.env.NODE_ENV === 'development') {\n        return SignInCover;\n      } else {\n        // We import it from WP localize script.\n        // eslint-disable-next-line no-undef\n        return weeconnectpayVueData.pluginUrl + 'dist' + SignInCover; // the module request\n      }\n    }\n  }\n}\n// eslint-disable-next-line no-undef\n//alert('weeconnectpayVueData test'+weeconnectpayVueData.pluginUrl);\n</script>\n\n<style scoped>\n#weeconnectpay-app img {\n  border-style: none;\n}\n</style>\n","import { render } from \"./SplitScreenSignIn.vue?vue&type=template&id=62af4e32&scoped=true&ts=true\"\nimport script from \"./SplitScreenSignIn.vue?vue&type=script&lang=ts\"\nexport * from \"./SplitScreenSignIn.vue?vue&type=script&lang=ts\"\n\nimport \"./SplitScreenSignIn.vue?vue&type=style&index=0&id=62af4e32&scoped=true&lang=css\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-62af4e32\"]])\n\nexport default __exports__","import { render } from \"./App.vue?vue&type=template&id=4685c45b\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=4685c45b&lang=css\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import {createApp} from 'vue'\nimport App from './App.vue'\nimport \"tailwindcss/tailwind.css\"\n// import \"src/input.css\"\n\ncreateApp(App).mount('#weeconnectpay-app')\n","module.exports = __webpack_public_path__ + \"img/WeeConnectPayLogo.svg\";","module.exports = __webpack_public_path__ + \"img/SignInCover.webp\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./SplitScreenSignIn.vue?vue&type=style&index=0&id=62af4e32&scoped=true&lang=css\""],"sourceRoot":""}
     1{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue","webpack:///./src/components/SplitScreenSignIn.vue","webpack:///./src/components/SplitScreenSignIn.vue?9150","webpack:///./src/App.vue?dfb6","webpack:///./src/main.js","webpack:///./src/assets/WeeConnectPayLogo.svg","webpack:///./src/App.vue?0b8b","webpack:///./src/assets/SignInCover.webp","webpack:///./src/components/SplitScreenSignIn.vue?53a6"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_createBlock","_component_SplitScreenSignIn","class","href","aria-hidden","viewBox","style","type","src","weeconnectpayLogoSrc","alt","authRedirect","signInCoverSrc","props","weeconnectpayVueData","redirectUrl","WeeConnectPayLogoSrc","SignInCover","computed","pluginUrl","__exports__","_integrationApiBaseUrl","_apiBaseUrl","gitpodBackendWorkspaceUrl","integrationApiBaseUrl","apiBaseUrl","weeconnectpayApi","axios","baseURL","headers","Accept","Authorization","localStorage","getItem","weeconnectpayPublicApi","header","pluginApi","components","SplitScreenSignIn","provide","httpApi","httpPublicApi","httpIntegrationApi","createApp","App","mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrB,IAAO,GAGJK,EAAkB,GAGtB,SAASS,EAAoB1B,GAG5B,GAAG4B,EAAiB5B,GACnB,OAAO4B,EAAiB5B,GAAU6B,QAGnC,IAAIC,EAASF,EAAiB5B,GAAY,CACzCK,EAAGL,EACH+B,GAAG,EACHF,QAAS,IAUV,OANAf,EAAQd,GAAUW,KAAKmB,EAAO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t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","<template>\n  <SplitScreenSignIn/>\n</template>\n\n<script>\nimport axios from 'axios';\nimport SplitScreenSignIn from './components/SplitScreenSignIn.vue'\n\n\nlet _integrationApiBaseUrl;\nlet _apiBaseUrl;\n\n// eslint-disable-next-line no-undef\nif (weeconnectpayVueData.gitpodBackendWorkspaceUrl) {\n  // eslint-disable-next-line no-undef\n  _apiBaseUrl = weeconnectpayVueData.gitpodBackendWorkspaceUrl;\n  // eslint-disable-next-line no-undef\n  _integrationApiBaseUrl = weeconnectpayVueData.pluginUrl;\n} else if (process.env.NODE_ENV === 'development') {\n  _apiBaseUrl = 'https://weeconnect-api.test';\n  _integrationApiBaseUrl = 'https://weeconnect-wp.test';\n} else {\n  // We import it from WP localize script.\n  // eslint-disable-next-line no-undef\n  _integrationApiBaseUrl = weeconnectpayVueData.pluginUrl;\n  _apiBaseUrl = 'https://apidev.weeconnectpay.com';\n}\nconst integrationApiBaseUrl = _integrationApiBaseUrl;\nconst apiBaseUrl = _apiBaseUrl;\n\n\nconst weeconnectpayApi = axios.create({\n  baseURL: apiBaseUrl,\n  headers: {\n    Accept: 'application/json',\n    Authorization: 'bearer ' + localStorage.getItem(\"authToken\")\n  }\n})\n\nconst weeconnectpayPublicApi = axios.create({\n  baseURL: apiBaseUrl,\n  header: {Accept: 'application/json'}\n})\n\nconst pluginApi = axios.create({\n  baseURL: integrationApiBaseUrl,\n  header: {Accept: 'application/json'}\n})\n\n\nexport default {\n  name: 'App',\n  components: {\n    //HelloWorld,\n    //SimpleCardSignIn,\n    SplitScreenSignIn\n  },\n  provide: {\n    httpApi: weeconnectpayApi,\n    httpPublicApi: weeconnectpayPublicApi,\n    httpIntegrationApi: pluginApi,\n  },\n}\n</script>\n\n<style>\n#weeconnectpay-app {\n  font-family: Avenir, Helvetica, Arial, sans-serif;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  text-align: center;\n  color: #2c3e50;\n}\n</style>\n","<template>\n  <div class=\"min-h-screen bg-white flex\">\n    <div class=\"flex-1 flex flex-col justify-center py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24\">\n      <div class=\"mx-auto w-full max-w-sm lg:w-96\">\n        <div>\n          <img class=\"h-36 w-auto mx-auto\" :src=\"weeconnectpayLogoSrc\" alt=\"weeconnectpay-logo\" />\n          <h2 class=\"mt-6 text-3xl font-extrabold text-gray-900\">\n            Sign in to your account\n          </h2>\n          <p class=\"mt-2 text-sm text-gray-600\">\n            Or\n            {{ ' ' }}\n            <a href=\"https://weeconnectpay.com/register/\" class=\"font-medium text-indigo-600 hover:text-indigo-500\">\n              start your 14-day free trial\n            </a>\n          </p>\n        </div>\n\n        <div class=\"mt-8\">\n          <div>\n            <div>\n              <p class=\"text-sm font-medium text-gray-700\">\n                Sign in with\n              </p>\n\n              <div class=\"mt-1\">\n                <div class=\"inline-flex justify-center w-2/5\">\n                  <a :href=\"authRedirect\" class=\"w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-md shadow-sm bg-white text-sm font-medium text-gray-500 hover:bg-gray-50\">\n                    <span class=\"sr-only\">Sign in with Clover</span>\n                    <svg aria-hidden=\"true\" viewBox=\"0 0 88 22\">\n                      <path class=\"st0\"\n                            d=\"M36.3 14.6c-1.4 1.7-3.4 2.8-5.6 2.8-3.8 0-6.8-2.7-6.8-6.2 0-1.7.7-3.3 2-4.5 1.2-1.2 2.9-1.8 4.6-1.7 2.2 0 4.3 1 5.6 2.8l-2.5 1.8c-.7-1.1-1.8-1.8-3.1-1.8-1.9 0-3.5 1.6-3.5 3.5.1 2 1.7 3.5 3.6 3.5 1.3 0 2.5-.6 3.2-1.7l2.5 1.5zM37.7 0h3.1v17.1h-3.1zM49.1 14.7c2 0 3.7-1.6 3.8-3.6-.1-2-1.8-3.6-3.8-3.6s-3.7 1.6-3.8 3.6c.1 2 1.7 3.6 3.8 3.6m0-9.8c1.7-.1 3.4.5 4.7 1.7 1.3 1.2 2 2.8 2.1 4.5-.1 1.7-.8 3.4-2.1 4.5-1.3 1.2-3 1.8-4.7 1.7-3.8 0-6.8-2.7-6.8-6.2s3-6.2 6.8-6.2M55.3 5.1H59l3 6.4 3.2-6.4h3.4L62 17.8zM77.5 9.4c-.5-1.2-1.6-1.9-2.9-1.9-1.3 0-2.5.7-3.1 1.9h6zm2 6.3c-1.3 1.1-2.9 1.6-4.6 1.6-3.8 0-6.8-2.7-6.8-6.2 0-1.7.7-3.3 1.9-4.5 1.2-1.2 2.9-1.8 4.6-1.7 1.7-.1 3.3.6 4.5 1.8s1.8 2.8 1.7 4.5v.8h-9.6c.5 1.6 2 2.7 3.7 2.7 1 0 2-.4 2.8-1.2l1.8 2.2zm2.8-5.3c0-2.9 2.2-5.2 5.7-5.2V8c-.7 0-1.5.3-2 .8s-.7 1.3-.6 2v6.3h-3.1v-6.7z\"\n                            style=\"fill:#5a5a5a\"/>\n                      <path d=\"M9.7 5.6c0-2-1.2-3.7-3-4.5s-3.9-.4-5.3 1S-.4 5.6.3 7.4s2.5 3 4.5 3h4.9V5.6zm1.4 0c0-2 1.2-3.7 3-4.5s3.9-.4 5.3 1 1.8 3.5 1.1 5.3-2.5 3-4.5 3h-4.9V5.6zm0 11c0 2 1.2 3.7 3 4.5 1.8.8 3.9.4 5.3-1s1.8-3.5 1.1-5.3-2.5-3-4.5-3h-4.9v4.8zm-6.3 3.5c1.9 0 3.5-1.5 3.5-3.5v-3.5H4.8c-1.9 0-3.5 1.5-3.5 3.5s1.6 3.5 3.5 3.5zm4.9-3.5c0 2-1.2 3.7-3 4.5-1.8.8-3.9.4-5.3-1S-.4 16.6.3 14.8s2.5-3 4.5-3h4.9v4.8z\"\n                            style=\"fill:#280\"/>\n                    </svg>\n                  </a>\n                </div>\n              </div>\n            </div>\n\n            <div class=\"mt-6 relative\">\n              <div class=\"absolute inset-0 flex items-center\" aria-hidden=\"true\">\n                <div class=\"w-full border-t border-gray-300\" />\n              </div>\n              <div class=\"relative flex justify-center text-sm\">\n                <span class=\"px-2 bg-white text-gray-500\">\n                  Or\n                </span>\n              </div>\n            </div>\n          </div>\n\n          <div class=\"mt-6\">\n            <!--          #59B210     // bg-indigo-600 -->\n            <a href=\"https://weeconnectpay.com/register/\">\n              <button type=\"button\"\n                      class=\"w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white  hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2\"\n                      style=\"background-color: #59B210\">\n                Create an account\n              </button>\n            </a>\n\n\n</div>\n\n        </div>\n      </div>\n    </div>\n    <div class=\"hidden lg:block relative w-0 flex-1\">\n      <img class=\"absolute inset-0 h-full w-full object-cover\" :src=\"signInCoverSrc\" alt=\"weeconnectpay-sign-in-cover\" />\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\nimport WeeConnectPayLogoSrc from \"@/assets/WeeConnectPayLogo.svg\";\nimport SignInCover from \"@/assets/SignInCover.webp\";\n\nexport default {\n  name: \"SplitScreenSignIn\",\n  props: [],\n  setup() {\n    // eslint-disable-next-line no-undef\n    let authRedirect = weeconnectpayVueData.redirectUrl;\n\n    return {\n      WeeConnectPayLogoSrc,\n      SignInCover,\n      authRedirect\n    };\n  },\n  mounted() {\n  },\n  computed: {\n    weeconnectpayLogoSrc () {\n      if (process.env.NODE_ENV === 'development') {\n        return WeeConnectPayLogoSrc;\n      } else {\n          // We import it from WP localize script.\n          // eslint-disable-next-line no-undef\n          return weeconnectpayVueData.pluginUrl + 'dist' + WeeConnectPayLogoSrc; // the module request\n        }\n      },\n    signInCoverSrc () {\n      if (process.env.NODE_ENV === 'development') {\n        return SignInCover;\n      } else {\n        // We import it from WP localize script.\n        // eslint-disable-next-line no-undef\n        return weeconnectpayVueData.pluginUrl + 'dist' + SignInCover; // the module request\n      }\n    }\n  }\n}\n// eslint-disable-next-line no-undef\n//alert('weeconnectpayVueData test'+weeconnectpayVueData.pluginUrl);\n</script>\n\n<style scoped>\n#weeconnectpay-app img {\n  border-style: none;\n}\n</style>\n","import { render } from \"./SplitScreenSignIn.vue?vue&type=template&id=62af4e32&scoped=true&ts=true\"\nimport script from \"./SplitScreenSignIn.vue?vue&type=script&lang=ts\"\nexport * from \"./SplitScreenSignIn.vue?vue&type=script&lang=ts\"\n\nimport \"./SplitScreenSignIn.vue?vue&type=style&index=0&id=62af4e32&scoped=true&lang=css\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-62af4e32\"]])\n\nexport default __exports__","import { render } from \"./App.vue?vue&type=template&id=2db051e0\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=2db051e0&lang=css\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import {createApp} from 'vue'\nimport App from './App.vue'\nimport \"tailwindcss/tailwind.css\"\n// import \"src/input.css\"\n\ncreateApp(App).mount('#weeconnectpay-app')\n","module.exports = __webpack_public_path__ + \"img/WeeConnectPayLogo.svg\";","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader-v16/dist/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./App.vue?vue&type=style&index=0&id=2db051e0&lang=css\"","module.exports = __webpack_public_path__ + \"img/SignInCover.webp\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./SplitScreenSignIn.vue?vue&type=style&index=0&id=62af4e32&scoped=true&lang=css\""],"sourceRoot":""}
  • weeconnectpay/trunk/includes/WeeConnectPayAPI.php

    r3117258 r3133358  
    686686
    687687        switch ( $wp_env ) {
     688            case 'gitpod':
     689                return GITPOD_WCP_BACKEND_WORKSPACE_URL ?? 'GITPOD_URL_NOT_SET';
    688690            case 'local':
    689691            case 'development':
  • weeconnectpay/trunk/includes/WeeConnectPayController.php

    r3117258 r3133358  
    2626
    2727        switch ( $this->wp_env ) {
     28            case 'gitpod':
     29                $this->url_api = GITPOD_WCP_BACKEND_WORKSPACE_URL ?? 'GITPOD_URL_NOT_SET';
     30                break;
    2831            case 'local':
    2932            case 'development':
  • weeconnectpay/trunk/includes/WeeConnectPayUtilities.php

    r3092557 r3133358  
    9292        $wp_env = null;
    9393
    94         if ( function_exists( 'wp_get_environment_type' ) ) {
     94        if (getenv('GITPOD_WORKSPACE_URL')) {
     95            $wp_env = 'gitpod';
     96        } else if ( function_exists( 'wp_get_environment_type' ) ) {
    9597            $wp_env = wp_get_environment_type();
    9698        }
    9799
    98100        switch ( $wp_env ) {
     101            case 'gitpod':
     102                return 'gitpod';
     103
    99104            case 'local':
    100105            case 'development':
  • weeconnectpay/trunk/includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php

    r3117258 r3133358  
    307307                    'redirectUrl' => $redirect_url,
    308308                );
     309
     310                // GitPod support
     311                if (getenv('GITPOD_WORKSPACE_URL')) {
     312                    $vue_data['gitpodBackendWorkspaceUrl'] = GITPOD_WCP_BACKEND_WORKSPACE_URL ?? 'GITPOD_URL_NOT_SET';
     313                }
    309314
    310315                $admin_panel = new AdminPanel();
     
    743748                // Logout logic
    744749                if ( $code === 401 && $xApiSource === 'Clover') {
    745                     // API Key is no longer valid. The merchant must re-authenticate with the plugin to generate a new one for us to use.
     750                    // Clover API Key is no longer valid. The merchant must re-authenticate with the plugin to generate a new one for us to use.
    746751                    error_log( 'The Clover API key has been revoked by the associated Clover merchant, Clover employee or by Clover due to a critical change to one of those 2. Logging out and disabling the payment gateway.' );
    747752
     
    753758                        'redirect' => '',
    754759                    );
    755                 }
     760                } else if ( $code === 401 ) {
     761                    // WeeConnectPay API Key is no longer valid. The merchant must re-authenticate with the plugin to generate a new one.
     762                    error_log( 'WeeConnectPay API Key is invalid/has expired. Logging out and disabling the payment gateway.' );
     763
     764                    // logout, but remember settings
     765                    IntegrationSettings::forceLogout(true);
     766                    wc_add_notice( __('ERROR: The merchant\'s WeeConnectPay API key needs to be refreshed by the merchant to keep taking payments with this gateway. Please advise the merchant to re-authenticate in the integration to re-enable the payment gateway.','weeconnectpay'), 'error' );
     767                    return array(
     768                        'result'   => 'fail',
     769                        'redirect' => '',
     770                    );
     771                }
    756772
    757773                $response        = $exception->getResponse();
     
    15331549
    15341550        switch ( $wp_env ) {
     1551            case 'gitpod':
     1552                $url_api = GITPOD_WCP_BACKEND_WORKSPACE_URL ?? 'GITPOD_URL_NOT_SET';
     1553                break;
    15351554            case 'local':
    15361555            case 'development':
  • weeconnectpay/trunk/includes/modules/WeeConnectPay/Api/ApiClient.php

    r3117258 r3133358  
    3636
    3737        switch ( $wpEnv ) {
    38             case 'local':
     38            case 'gitpod':
     39                $domain = GITPOD_WCP_BACKEND_WORKSPACE_URL ?? 'GITPOD_URL_NOT_SET';
     40                break;
     41            case 'local':
    3942            case 'development':
    4043                $domain = 'https://weeconnect-api.test';
  • weeconnectpay/trunk/includes/modules/WeeConnectPay/Integration/Authentication.php

    r3089584 r3133358  
    3232
    3333        switch ( $wp_env ) {
     34            case 'gitpod':
     35                $url_api = GITPOD_WCP_BACKEND_WORKSPACE_URL ?? 'GITPOD_URL_NOT_SET';
     36                break;
    3437            case 'local':
    3538            case 'development':
  • weeconnectpay/trunk/includes/modules/WeeConnectPay/Validators/DependencyValidator.php

    r3117258 r3133358  
    3636     */
    3737    public function validate( array $versionToValidate ): bool {
     38
     39        // GitPod config check -- Will not include it as a dependency, but we still shouldn't run the plugin if its active and fails this check
     40        if (getenv('GITPOD_WORKSPACE_URL')) {
     41            if (!defined('GITPOD_WCP_BACKEND_WORKSPACE_URL')) {
     42                throw new MissingDependencyException(
     43                    sprintf(
     44                        __( '%1$s constant does not seem to be set, which is required for this integration to work properly when using GitPod. Integration disabled.', 'weeconnectpay' ),
     45                        'GITPOD_WCP_BACKEND_WORKSPACE_URL'
     46                    ),
     47                    ExceptionCode::MISSING_DEPENDENCY,
     48                    null
     49                );
     50            }
     51        }
     52
    3853        if ( $versionToValidate === null || count( $versionToValidate ) <= 0 ) {
    3954
  • weeconnectpay/trunk/vendor/composer/installed.php

    r3117258 r3133358  
    22    'root' => array(
    33        'name' => '__root__',
    4         'pretty_version' => '3.10.3',
    5         'version' => '3.10.3.0',
    6         'reference' => 'd1009359851e61e3f7f5b08e158449f396a7dd7c',
     4        'pretty_version' => '3.11.0',
     5        'version' => '3.11.0.0',
     6        'reference' => '0a65ce7b59d7c7f665083abfb9a2e4a931a0791d',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        '__root__' => array(
    14             'pretty_version' => '3.10.3',
    15             'version' => '3.10.3.0',
    16             'reference' => 'd1009359851e61e3f7f5b08e158449f396a7dd7c',
     14            'pretty_version' => '3.11.0',
     15            'version' => '3.11.0.0',
     16            'reference' => '0a65ce7b59d7c7f665083abfb9a2e4a931a0791d',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
  • weeconnectpay/trunk/weeconnectpay.php

    r3117258 r3133358  
    1818 * Description:       Integrate Clover Payments with your WooCommerce online store.
    1919 * Tags:              clover, payments, weeconnect, e-commerce, gateway
    20  * Version:           3.10.7
     20 * Version:           3.11.0
    2121 * Requires at least: 5.6
    22  * Tested Up To:      6.5.5
     22 * Tested Up To:      6.6.1
    2323 * Requires PHP:      7.2
    2424 * Author:            WeeConnectPay
     
    3131 * Requires Plugins:  woocommerce
    3232 * WC requires at least: 3.0.4
    33  * WC tested up to: 9.1.2
     33 * WC tested up to: 9.1.4
    3434 */
    3535
     
    3838    die;
    3939}
    40 const WEECONNECT_VERSION = '3.10.7';
     40const WEECONNECT_VERSION = '3.11.0';
    4141
    4242define( 'WEECONNECTPAY_PLUGIN_URL', plugin_dir_url(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.