Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
firstline1
titleResponse Checkout
linenumberstrue
{
  "result":{
    "code":"000.200.100",
    "description":"successfully created checkout"
  },
  "buildNumber":"beb408d1f2c902bfb8665e2b4e268f1039848d03@2016-02-16 12:49:58 +0000",
  "timestamp":"2016-02-16 13:25:09+0000",
  "ndc":"DA84DCEB01BD28810E992D9EC8085985.sbg-vm-tx01",
  "id":"DA84DCEB01BD28810E992D9EC8085985.sbg-vm-tx01"
}


Create the Hosted Payment Page / Payment Form


Code Block
languagejs
firstline1
titlePayment Form
linenumberstrue
<script>
//display the CPF number and set language to Portuguese
var wpwlOptions ={ showTaxNumberField:true, locale:"pt"
}
</script>
<script
src="https://test.oppwa.com/v1/paymentWidgets.js?checkoutId=75E53EDE2467B24C179501962555376C.sbg-vm-tx02"></script>
<form action=" {shopperResultUrl}" class="paymentWidgets">VISA MASTER ELO</form>

...