{"id":3380,"date":"2024-01-22T17:09:41","date_gmt":"2024-01-22T16:09:41","guid":{"rendered":"https:\/\/www.targetinformatica.it\/?p=3380"},"modified":"2024-02-26T11:38:36","modified_gmt":"2024-02-26T10:38:36","slug":"paypal-molly","status":"publish","type":"post","link":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/","title":{"rendered":"PayPal"},"content":{"rendered":"\n\/\/ Close 3Ds Dialog\nfunction onClose() {\n  const threedsElement = document.getElementById(&#8220;threeds&#8221;);\n  threedsElement.innerHTML = &#8220;&#8221;;\n}\n\n\/\/ Handle 3Ds Payload\nasync function onHandle3Ds(payload, orderId) {\n  const { liabilityShifted, liabilityShift } = payload;\n\n  if (liabilityShift === &#8220;POSSIBLE&#8221;) {\n    await onApproveCallback(orderId);\n  } else if (liabilityShifted === false || liabilityShifted === undefined) {\n    document.getElementById(&#8220;threeds&#8221;).innerHTML = `<Dialog open>\n        <p>You have the option to complete the payment at your own risk,\n         meaning that the liability of any chargeback has not shifted from\n          the merchant to the card issuer.<\/p>\n        <button onclick=onApproveCallback(\"${orderId}\")>Pay Now<\/button>\n        <button onclick=onClose()>Close<\/button>\n      <\/Dialog>\n    `;\n  }\n}\n\nasync function createOrderCallback() {\n  resultMessage(&#8220;&#8221;);\n  try {\n    const response = await fetch(&#8220;\/api\/orders&#8221;, {\n      method: &#8220;POST&#8221;,\n      headers: {\n        &#8220;Content-Type&#8221;: &#8220;application\/json&#8221;,\n      },\n      \/\/ use the &#8220;body&#8221; param to optionally pass additional order information\n      \/\/ like product ids and quantities\n      body: JSON.stringify({\n        cart: [\n          {\n            id: &#8220;YOUR_PRODUCT_ID&#8221;,\n            quantity: &#8220;YOUR_PRODUCT_QUANTITY&#8221;,\n          },\n        ],\n      }),\n    });\n\n    const orderData = await response.json();\n\n    if (orderData.id) {\n      return orderData.id;\n    } else {\n      const errorDetail = orderData?.details?.[0];\n      const errorMessage = errorDetail\n        ? `${errorDetail.issue} ${errorDetail.description} (${orderData.debug_id})`\n        : JSON.stringify(orderData);\n\n      throw new Error(errorMessage);\n    }\n  } catch (error) {\n    console.error(error);\n    resultMessage(`Could not initiate PayPal Checkout&#8230;<br><br>${error}`);\n  }\n}\n\nasync function onApproveCallback(orderId) {\n  console.log(&#8220;orderId&#8221;, orderId);\n\n  const threedsElement = document.getElementById(&#8220;threeds&#8221;);\n  threedsElement.innerHTML = &#8220;&#8221;;\n\n  try {\n    const response = await fetch(`\/api\/orders\/${orderId}\/capture`, {\n      method: &#8220;POST&#8221;,\n      headers: {\n        &#8220;Content-Type&#8221;: &#8220;application\/json&#8221;,\n      },\n    });\n\n    const orderData = await response.json();\n    \/\/ Three cases to handle:\n    \/\/   (1) Recoverable INSTRUMENT_DECLINED -> call actions.restart()\n    \/\/   (2) Other non-recoverable errors -> Show a failure message\n    \/\/   (3) Successful transaction -> Show confirmation or thank you message\n\n    const transaction =\n      orderData?.purchase_units?.[0]?.payments?.captures?.[0] ||\n      orderData?.purchase_units?.[0]?.payments?.authorizations?.[0];\n    const errorDetail = orderData?.details?.[0];\n\n    \/\/ this actions.restart() behavior only applies to the Buttons component\n    if (errorDetail?.issue === &#8220;INSTRUMENT_DECLINED&#8221; &#038;&#038; !data.card &#038;&#038; actions) {\n      \/\/ (1) Recoverable INSTRUMENT_DECLINED -> call actions.restart()\n      \/\/ recoverable state, per https:\/\/developer.paypal.com\/docs\/checkout\/standard\/customize\/handle-funding-failures\/\n      return actions.restart();\n    } else if (\n      errorDetail ||\n      !transaction ||\n      transaction.status === &#8220;DECLINED&#8221;\n    ) {\n      \/\/ (2) Other non-recoverable errors -> Show a failure message\n      let errorMessage;\n      if (transaction) {\n        errorMessage = `Transaction ${transaction.status}: ${transaction.id}`;\n      } else if (errorDetail) {\n        errorMessage = `${errorDetail.description} (${orderData.debug_id})`;\n      } else {\n        errorMessage = JSON.stringify(orderData);\n      }\n\n      throw new Error(errorMessage);\n    } else {\n      \/\/ (3) Successful transaction -> Show confirmation or thank you message\n      \/\/ Or go to another URL:  actions.redirect(&#8216;thank_you.html&#8217;);\n      resultMessage(\n        `Transaction ${transaction.status}: ${transaction.id}<br><br>See console for all available details`,\n      );\n      console.log(\n        &#8220;Capture result&#8221;,\n        orderData,\n        JSON.stringify(orderData, null, 2),\n      );\n    }\n  } catch (error) {\n    console.error(error);\n    resultMessage(\n      `Sorry, your transaction could not be processed&#8230;<br><br>${error}`,\n    );\n  }\n}\n\nwindow.paypal\n  .Buttons({\n    style: {\n      shape: &#8220;pill&#8221;,\n      layout: &#8220;vertical&#8221;,\n    },\n    createOrder: createOrderCallback,\n    onApprove: (data) => onApproveCallback(data.orderID),\n  })\n  .render(&#8220;#paypal-button-container&#8221;);\n\n\/\/ Example function to show a result to the user. Your site&#8217;s UI library can be used instead.\nfunction resultMessage(message) {\n  const container = document.querySelector(&#8220;#result-message&#8221;);\n  container.innerHTML = message;\n}\n\n\/\/ If this returns false or the card fields aren&#8217;t visible, see Step #1.\nif (window.paypal.HostedFields.isEligible()) {\n  let orderId;\n  \/\/ Renders card fields\n  window.paypal.HostedFields.render({\n    \/\/ Call your server to set up the transaction\n    createOrder: async (data, actions) => {\n      orderId = await createOrderCallback(data, actions);\n      return orderId;\n    },\n    styles: {\n      &#8220;.valid&#8221;: {\n        color: &#8220;green&#8221;,\n      },\n      &#8220;.invalid&#8221;: {\n        color: &#8220;red&#8221;,\n      },\n    },\n    fields: {\n      number: {\n        selector: &#8220;#card-number&#8221;,\n        placeholder: &#8220;4111 1111 1111 1111&#8221;,\n      },\n      cvv: {\n        selector: &#8220;#cvv&#8221;,\n        placeholder: &#8220;123&#8221;,\n      },\n      expirationDate: {\n        selector: &#8220;#expiration-date&#8221;,\n        placeholder: &#8220;MM\/YY&#8221;,\n      },\n    },\n  }).then((cardFields) => {\n    document\n      .querySelector(&#8220;#card-form&#8221;)\n      .addEventListener(&#8220;submit&#8221;, async (event) => {\n        event.preventDefault();\n        try {\n          const { value: cardHolderName } =\n            document.getElementById(&#8220;card-holder-name&#8221;);\n          const { value: streetAddress } = document.getElementById(\n            &#8220;card-billing-address-street&#8221;,\n          );\n          const { value: extendedAddress } = document.getElementById(\n            &#8220;card-billing-address-unit&#8221;,\n          );\n          const { value: region } = document.getElementById(\n            &#8220;card-billing-address-state&#8221;,\n          );\n          const { value: locality } = document.getElementById(\n            &#8220;card-billing-address-city&#8221;,\n          );\n          const { value: postalCode } = document.getElementById(\n            &#8220;card-billing-address-zip&#8221;,\n          );\n          const { value: countryCodeAlpha2 } = document.getElementById(\n            &#8220;card-billing-address-country&#8221;,\n          );\n\n          const payload = await cardFields.submit({\n            cardHolderName,\n            contingencies: [&#8220;SCA_ALWAYS&#8221;],\n            billingAddress: {\n              streetAddress,\n              extendedAddress,\n              region,\n              locality,\n              postalCode,\n              countryCodeAlpha2,\n            },\n          });\n\n          await onHandle3Ds(payload, orderId);\n        } catch (error) {\n          alert(&#8220;Payment could not be captured! &#8221; + JSON.stringify(error));\n        }\n      });\n  });\n} else {\n  \/\/ Hides card fields if the merchant isn&#8217;t eligible\n  document.querySelector(&#8220;#card-form&#8221;).style = &#8220;display: none&#8221;;\n}\n","protected":false},"excerpt":{"rendered":"<p>Available for all authorized users, a new version of GD Vending Software Solutions, which introduces, among others, the following improvements<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3380","post","type-post","status-publish","format-standard","hentry","category-senza-categoria"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\/\/ Close 3Ds Dialog function onClose() { const threedsElement = document.getElementById(&quot;threeds&quot;); threedsElement.innerHTML = &quot;&quot;; } \/\/ Handle 3Ds Payload async function onHandle3Ds(payload, orderId) { const { liabilityShifted, liabilityShift } = payload; if (liabilityShift === &quot;POSSIBLE&quot;) { await onApproveCallback(orderId); } else if (liabilityShifted === false || liabilityShifted === undefined) { document.getElementById(&quot;threeds&quot;).innerHTML = ` You have the\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"TI_mollywp_2019\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Target Informatica | quello che facciamo meglio \u00e8 dare forma alle vostre idee\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"PayPal | Target Informatica\" \/>\n\t\t<meta property=\"og:description\" content=\"\/\/ Close 3Ds Dialog function onClose() { const threedsElement = document.getElementById(&quot;threeds&quot;); threedsElement.innerHTML = &quot;&quot;; } \/\/ Handle 3Ds Payload async function onHandle3Ds(payload, orderId) { const { liabilityShifted, liabilityShift } = payload; if (liabilityShift === &quot;POSSIBLE&quot;) { await onApproveCallback(orderId); } else if (liabilityShifted === false || liabilityShifted === undefined) { document.getElementById(&quot;threeds&quot;).innerHTML = ` You have the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-01-22T16:09:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-02-26T10:38:36+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TargetInformaticaTerni\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"PayPal | Target Informatica\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\/\/ Close 3Ds Dialog function onClose() { const threedsElement = document.getElementById(&quot;threeds&quot;); threedsElement.innerHTML = &quot;&quot;; } \/\/ Handle 3Ds Payload async function onHandle3Ds(payload, orderId) { const { liabilityShifted, liabilityShift } = payload; if (liabilityShift === &quot;POSSIBLE&quot;) { await onApproveCallback(orderId); } else if (liabilityShifted === false || liabilityShifted === undefined) { document.getElementById(&quot;threeds&quot;).innerHTML = ` You have the\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/paypal-molly\\\/#article\",\"name\":\"PayPal | Target Informatica\",\"headline\":\"PayPal\",\"author\":{\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/author\\\/ti_mollywp_2019\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/cropped-icona.png\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/#articleImage\"},\"datePublished\":\"2024-01-22T17:09:41+01:00\",\"dateModified\":\"2024-02-26T11:38:36+01:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/paypal-molly\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/paypal-molly\\\/#webpage\"},\"articleSection\":\"Senza categoria\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/paypal-molly\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/category\\\/senza-categoria\\\/#listItem\",\"name\":\"Senza categoria\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/category\\\/senza-categoria\\\/#listItem\",\"position\":2,\"name\":\"Senza categoria\",\"item\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/category\\\/senza-categoria\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/paypal-molly\\\/#listItem\",\"name\":\"PayPal\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/paypal-molly\\\/#listItem\",\"position\":3,\"name\":\"PayPal\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/category\\\/senza-categoria\\\/#listItem\",\"name\":\"Senza categoria\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/#organization\",\"name\":\"Target Informatica Srl\",\"description\":\"quello che facciamo meglio \\u00e8 dare forma alle vostre idee\",\"url\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/\",\"email\":\"info@targetinformatica.it\",\"telephone\":\"+390744288409\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/cropped-icona.png\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/paypal-molly\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/paypal-molly\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/TargetInformaticaTerni\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/14810171\\\/admin\\\/feed\\\/posts\\\/\"],\"address\":{\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/#postaladdress\",\"@type\":\"PostalAddress\",\"streetAddress\":\"Via F. Turati 16\",\"postalCode\":\"05100\",\"addressLocality\":\"TR - Terni\",\"addressRegion\":\"TR\",\"addressCountry\":\"IT\"},\"taxID\":\"IT 00664210556\",\"vatID\":\"IT 00664210556\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/author\\\/ti_mollywp_2019\\\/#author\",\"url\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/author\\\/ti_mollywp_2019\\\/\",\"name\":\"TI_mollywp_2019\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/paypal-molly\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/19f98a644f5f1c52a6ec6402fa45eb1e8284a307ace7e1d3cfca441bb8455139?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"TI_mollywp_2019\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/paypal-molly\\\/#webpage\",\"url\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/paypal-molly\\\/\",\"name\":\"PayPal | Target Informatica\",\"description\":\"\\\/\\\/ Close 3Ds Dialog function onClose() { const threedsElement = document.getElementById(\\\"threeds\\\"); threedsElement.innerHTML = \\\"\\\"; } \\\/\\\/ Handle 3Ds Payload async function onHandle3Ds(payload, orderId) { const { liabilityShifted, liabilityShift } = payload; if (liabilityShift === \\\"POSSIBLE\\\") { await onApproveCallback(orderId); } else if (liabilityShifted === false || liabilityShifted === undefined) { document.getElementById(\\\"threeds\\\").innerHTML = ` You have the\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/paypal-molly\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/author\\\/ti_mollywp_2019\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/author\\\/ti_mollywp_2019\\\/#author\"},\"datePublished\":\"2024-01-22T17:09:41+01:00\",\"dateModified\":\"2024-02-26T11:38:36+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/\",\"name\":\"Target Informatica\",\"description\":\"quello che facciamo meglio \\u00e8 dare forma alle vostre idee\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.targetinformatica.it\\\/en\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>PayPal | Target Informatica<\/title>\n\n","aioseo_head_json":{"title":"PayPal | Target Informatica","description":"\/\/ Close 3Ds Dialog function onClose() { const threedsElement = document.getElementById(&quot;threeds&quot;); threedsElement.innerHTML = &quot;&quot;; } \/\/ Handle 3Ds Payload async function onHandle3Ds(payload, orderId) { const { liabilityShifted, liabilityShift } = payload; if (liabilityShift === &quot;POSSIBLE&quot;) { await onApproveCallback(orderId); } else if (liabilityShifted === false || liabilityShifted === undefined) { document.getElementById(&quot;thirds&quot;).innerHTML = ` You have the","canonical_url":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/#article","name":"PayPal | Target Informatica","headline":"PayPal","author":{"@id":"https:\/\/www.targetinformatica.it\/en\/author\/ti_mollywp_2019\/#author"},"publisher":{"@id":"https:\/\/www.targetinformatica.it\/en\/#organization"},"image":{"@type":"ImageObject","url":"\/wp-content\/uploads\/2019\/09\/cropped-icona.png","@id":"https:\/\/www.targetinformatica.it\/en\/#articleImage"},"datePublished":"2024-01-22T17:09:41+01:00","dateModified":"2024-02-26T11:38:36+01:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/#webpage"},"isPartOf":{"@id":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/#webpage"},"articleSection":"Senza categoria"},{"@type":"BreadcrumbList","@id":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.targetinformatica.it\/en\/#listItem","position":1,"name":"Home","item":"https:\/\/www.targetinformatica.it\/en\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.targetinformatica.it\/en\/category\/senza-categoria\/#listItem","name":"Senza categoria"}},{"@type":"ListItem","@id":"https:\/\/www.targetinformatica.it\/en\/category\/senza-categoria\/#listItem","position":2,"name":"Senza categoria","item":"https:\/\/www.targetinformatica.it\/en\/category\/senza-categoria\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/#listItem","name":"PayPal"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.targetinformatica.it\/en\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/#listItem","position":3,"name":"PayPal","previousItem":{"@type":"ListItem","@id":"https:\/\/www.targetinformatica.it\/en\/category\/senza-categoria\/#listItem","name":"Senza categoria"}}]},{"@type":"Organization","@id":"https:\/\/www.targetinformatica.it\/en\/#organization","name":"Target Informatica Srl","description":"quello che facciamo meglio \u00e8 dare forma alle vostre idee","url":"https:\/\/www.targetinformatica.it\/en\/","email":"info@targetinformatica.it","telephone":"+390744288409","logo":{"@type":"ImageObject","url":"\/wp-content\/uploads\/2019\/09\/cropped-icona.png","@id":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/#organizationLogo"},"image":{"@id":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/TargetInformaticaTerni","https:\/\/www.linkedin.com\/company\/14810171\/admin\/feed\/posts\/"],"address":{"@id":"https:\/\/www.targetinformatica.it\/en\/#postaladdress","@type":"PostalAddress","streetAddress":"Via F. Turati 16","postalCode":"05100","addressLocality":"TR - Terni","addressRegion":"TR","addressCountry":"IT"},"taxID":"IT 00664210556","vatID":"IT 00664210556"},{"@type":"Person","@id":"https:\/\/www.targetinformatica.it\/en\/author\/ti_mollywp_2019\/#author","url":"https:\/\/www.targetinformatica.it\/en\/author\/ti_mollywp_2019\/","name":"TI_mollywp_2019","image":{"@type":"ImageObject","@id":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/19f98a644f5f1c52a6ec6402fa45eb1e8284a307ace7e1d3cfca441bb8455139?s=96&d=mm&r=g","width":96,"height":96,"caption":"TI_mollywp_2019"}},{"@type":"WebPage","@id":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/#webpage","url":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/","name":"PayPal | Target Informatica","description":"\/\/ Close 3Ds Dialog function onClose() { const threedsElement = document.getElementById(\"threeds\"); threedsElement.innerHTML = \"\"; } \/\/ Handle 3Ds Payload async function onHandle3Ds(payload, orderId) { const { liabilityShifted, liabilityShift } = payload; if (liabilityShift === \"POSSIBLE\") { await onApproveCallback(orderId); } else if (liabilityShifted === false || liabilityShifted === undefined) { document.getElementById(\"threeds\").innerHTML = ` You have the","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/www.targetinformatica.it\/en\/#website"},"breadcrumb":{"@id":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/#breadcrumblist"},"author":{"@id":"https:\/\/www.targetinformatica.it\/en\/author\/ti_mollywp_2019\/#author"},"creator":{"@id":"https:\/\/www.targetinformatica.it\/en\/author\/ti_mollywp_2019\/#author"},"datePublished":"2024-01-22T17:09:41+01:00","dateModified":"2024-02-26T11:38:36+01:00"},{"@type":"WebSite","@id":"https:\/\/www.targetinformatica.it\/en\/#website","url":"https:\/\/www.targetinformatica.it\/en\/","name":"Target Informatica","description":"quello che facciamo meglio \u00e8 dare forma alle vostre idee","inLanguage":"en-GB","publisher":{"@id":"https:\/\/www.targetinformatica.it\/en\/#organization"}}]},"og:locale":"en_GB","og:site_name":"Target Informatica | quello che facciamo meglio \u00e8 dare forma alle vostre idee","og:type":"article","og:title":"PayPal | Target Informatica","og:description":"\/\/ Close 3Ds Dialog function onClose() { const threedsElement = document.getElementById(&quot;threeds&quot;); threedsElement.innerHTML = &quot;&quot;; } \/\/ Handle 3Ds Payload async function onHandle3Ds(payload, orderId) { const { liabilityShifted, liabilityShift } = payload; if (liabilityShift === &quot;POSSIBLE&quot;) { await onApproveCallback(orderId); } else if (liabilityShifted === false || liabilityShifted === undefined) { document.getElementById(&quot;threeds&quot;).innerHTML = ` You have the","og:url":"https:\/\/www.targetinformatica.it\/en\/paypal-molly\/","article:published_time":"2024-01-22T16:09:41+00:00","article:modified_time":"2024-02-26T10:38:36+00:00","article:publisher":"https:\/\/www.facebook.com\/TargetInformaticaTerni","twitter:card":"summary","twitter:title":"PayPal | Target Informatica","twitter:description":"\/\/ Close 3Ds Dialog function onClose() { const threedsElement = document.getElementById(&quot;threeds&quot;); threedsElement.innerHTML = &quot;&quot;; } \/\/ Handle 3Ds Payload async function onHandle3Ds(payload, orderId) { const { liabilityShifted, liabilityShift } = payload; if (liabilityShift === &quot;POSSIBLE&quot;) { await onApproveCallback(orderId); } else if (liabilityShifted === false || liabilityShifted === undefined) { document.getElementById(&quot;threeds&quot;).innerHTML = ` You have the"},"aioseo_meta_data":{"post_id":"3380","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"seo_analyzer_scan_date":"2026-05-14 09:04:06","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"open_ai":null,"ai":null,"created":"2024-01-11 16:16:14","updated":"2026-05-14 09:04:06"},"_links":{"self":[{"href":"https:\/\/www.targetinformatica.it\/en\/wp-json\/wp\/v2\/posts\/3380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.targetinformatica.it\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.targetinformatica.it\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.targetinformatica.it\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.targetinformatica.it\/en\/wp-json\/wp\/v2\/comments?post=3380"}],"version-history":[{"count":10,"href":"https:\/\/www.targetinformatica.it\/en\/wp-json\/wp\/v2\/posts\/3380\/revisions"}],"predecessor-version":[{"id":3441,"href":"https:\/\/www.targetinformatica.it\/en\/wp-json\/wp\/v2\/posts\/3380\/revisions\/3441"}],"wp:attachment":[{"href":"https:\/\/www.targetinformatica.it\/en\/wp-json\/wp\/v2\/media?parent=3380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.targetinformatica.it\/en\/wp-json\/wp\/v2\/categories?post=3380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.targetinformatica.it\/en\/wp-json\/wp\/v2\/tags?post=3380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}