PayPal Description Javascript -
i creating app in appery.io , have implemented paypal restapi into. correctly running can not description/order summary correct.... have this
var sreturn =''; sreturn +="recipient: "+ localstorage.getitem('giftcard_recipient'); sreturn +="recipient email: "+ localstorage.getitem('giftcard_email'); sreturn +="card type: "+ localstorage.getitem('giftcard_type'); sreturn +="card amount: "+ localstorage.getitem('nprice'); sreturn +="note: "+ localstorage.getitem('giftcard_note'); return sreturn;
which in turn results in this....
i dont know how paypal order summary many see, such as...
i don't know how works apps, on normal websites shopping carts need send couple of hidden fields paypal result want. of them required, optional. important probably:
<input type="hidden" name="cmd" value="_cart" />
check out site more options: paypal developer site
there tutorial on how build shopping cart , send via jquery paypal: creating client-side shopping cart