Jump to content

read value from unihtmlframe


AntonioCuomo

Recommended Posts

In property HTML of Unithmlframe j write:

<script>
  paypal.Buttons({
      style: {
          shape: 'rect',
          color: 'white',
          layout: 'horizontal',
          label: 'buynow',
          
      },
      createOrder: function(data, actions) {
          return actions.order.create({
              purchase_units: [{
                  amount: {
                      value: '1'
                  }
              }]
          });
      },
      onApprove: function(data, actions) {
          return actions.order.capture().then(function(details) {
              alert('Transaction completed by ' + details.payer.name.given_name + '!');
          });
      }
  }).render('#paypal-button-container');
</script>

the button of paypal run ok

how j can read the 'details' of function actions.order.capture or j can read  a value from unigui?

thank' 

Link to comment
Share on other sites

my email is antonio@cuomo.eu and is present in db.

j have a problem: when j log in forums my username/password do not exist but after j click to forgot password j recevie link for change and l logging.

if close the browser j do not access to forums

sorry for my bad english

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...