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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...