I think i have solved almost all problems.. except 1..i figured out why in Sandbox-->Dashboard-->Testing Tools-->Sandbox Notifications i am not seeing the transactions..they are all "On Hold" in the sandbox business account..so i must have miss a setting? ============================================================================== Here is all my code this is for simple ASP.NET integration it passes the variables to JS. This worked for me: IN THE HEAD SECTION OF ASPX CODE: <script src="https://www.paypal.com/sdk/js?client-id=YOUR_PAYPAL_CLIENT_ID"></script> <script type="text/javascript" src="PATH_TO_JS_FILE/paypal.js" ></script> ASPX CODE: (place this where you want the buttons) <%Dim ItemName=ITEM_DESCRIPTION%> <%Dim QuoteMark= chr(34)%> <%Dim PayPalCustomer=cstr(CUSTOMER_NUMBER)%> <%Dim PayPalDescript= quotemark & ItemName & quotemark%> <%Dim Amount=cstr(TOTAL_PURCHASE) & ".00"%> <div id="paypal-button-container" style="position:relative;left:25%;width:50%;text-align:center;color:#FFFF00;"></div> <script> var Customer = <%=PayPalCustomer%>; var Description = <%=PayPalDescript%>; var Amount = <%=Amount%>; Payment() </script> PAYPAL.JS: function Payment(){ paypal.Buttons( {createOrder: function(data, actions) { return actions.order.create({ "purchase_units": [ { "custom_id": Customer, "description": Description, "amount": { "currency_code": "USD", "value": Amount, }, }, ], }) }, onApprove:function(data,actions) { return actions.order.capture().then(function(details){ alert('Transaction completed by ' + details.payer.name.given_name); }) }, }) .render('#paypal-button-container'); return ""; } Change all UPPERCASE to variables or literals. Everything compacted into 37 lines of code NOTE: if anyone is wondering the quotemark requirement seems to be an odd issue with passing variables between ASP and JS Hopefully this will some people get the basics done quickly and can work on the more advanced features afterward... --Richard
... View more