-
Notifications
You must be signed in to change notification settings - Fork 0
/
480b97d3.29a0b70c.js
1 lines (1 loc) · 5.28 KB
/
480b97d3.29a0b70c.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{146:function(e,t,a){"use strict";a.r(t),a.d(t,"frontMatter",(function(){return c})),a.d(t,"metadata",(function(){return i})),a.d(t,"rightToc",(function(){return l})),a.d(t,"default",(function(){return s}));var n=a(2),r=a(6),o=(a(0),a(250)),c={id:"Marketplace",title:"Marketplace",hide_title:!0,sidebar_label:"Marketplace"},i={id:"ExemplosIntegracao/Marketplace",isDocsHomePage:!1,title:"Marketplace",description:"Marketplace",source:"@site/docs\\ExemplosIntegracao\\Marketplace.md",permalink:"/documentation/docs/ExemplosIntegracao/Marketplace",sidebar_label:"Marketplace"},l=[],p={rightToc:l};function s(e){var t=e.components,a=Object(r.a)(e,["components"]);return Object(o.b)("wrapper",Object(n.a)({},p,a,{components:t,mdxType:"MDXLayout"}),Object(o.b)("h1",{className:"titulo"},"Marketplace"),Object(o.b)("div",{className:"subtitulo"},Object(o.b)("p",null,"Neste local, voc\xea encontra um ",Object(o.b)("strong",null,"exemplo pronto de uma integra\xe7\xe3o com a API da Gerencianet")," que demonstra o ",Object(o.b)("strong",null,"Marketplace")," com a forma de pagamento cart\xe3o de cr\xe9dito"),Object(o.b)("p",null,"Por se tratar de um exemplo meramente ilustrativo e de cunho educativo, \xe9 necess\xe1rio que voc\xea adapte \xe0 sua necessidade. ",Object(o.b)("strong",{parentName:"p"},"N\xe3o nos responsabilizamos pela utiliza\xe7\xe3o deste exemplo sem os ajustes necess\xe1rios para seu ambiente de produ\xe7\xe3o.")),Object(o.b)("div",{className:"admonition admonition-important alert alert--info"},Object(o.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-heading"}),Object(o.b)("h5",{parentName:"div"},Object(o.b)("span",Object(n.a)({parentName:"h5"},{className:"admonition-icon"}),Object(o.b)("svg",Object(n.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"}),Object(o.b)("path",Object(n.a)({parentName:"svg"},{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})))),"IMPORTANTE")),Object(o.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-content"}),Object(o.b)("p",{parentName:"div"},"N\xe3o esque\xe7a de alterar o ",Object(o.b)("inlineCode",{parentName:"p"},"Client_Id")," e ",Object(o.b)("inlineCode",{parentName:"p"},"Client_Secret")," de acordo com o ambiente utilizado (desenvolvimento ou produ\xe7\xe3o), al\xe9m de lembrar que a vari\xe1vel ",Object(o.b)("inlineCode",{parentName:"p"},'"sandbox"')," \xe9 booleana e possui 2 valores poss\xedveis, de acordo com o ambiente, sendo: ",Object(o.b)("inlineCode",{parentName:"p"},"sandbox => true")," equivale ao ambiente de desenvolvimento e ",Object(o.b)("inlineCode",{parentName:"p"},"sandbox => false")," equivale ao ambiente de produ\xe7\xe3o."))),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",{href:"https://www.gerencianet.com.br/wp-content/themes/Gerencianet/exemplos-api/marketplace/",target:"_blank"},"Clique aqui")," para acessar nosso exemplo de pagamento atrav\xe9s de marketplace."))))}s.isMDXComponent=!0},250:function(e,t,a){"use strict";a.d(t,"a",(function(){return b})),a.d(t,"b",(function(){return d}));var n=a(0),r=a.n(n);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function i(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){o(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function l(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var p=r.a.createContext({}),s=function(e){var t=r.a.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},b=function(e){var t=s(e.components);return r.a.createElement(p.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},u=r.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,o=e.originalType,c=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),b=s(a),u=n,d=b["".concat(c,".").concat(u)]||b[u]||m[u]||o;return a?r.a.createElement(d,i(i({ref:t},p),{},{components:a})):r.a.createElement(d,i({ref:t},p))}));function d(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=a.length,c=new Array(o);c[0]=u;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i.mdxType="string"==typeof e?e:n,c[1]=i;for(var p=2;p<o;p++)c[p]=a[p];return r.a.createElement.apply(null,c)}return r.a.createElement.apply(null,a)}u.displayName="MDXCreateElement"}}]);