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....current summary

i dont know how paypal order summary many see, such as...paypal

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


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -