Extract total from my cart -> place amount in paypal button
soldouttix
Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Oct-03-2014
08:05 AM
I use a hosted shopping cart and am very limited to what I can do with it. I need to pass the order total amount from my shopping cart into the:
<input type="hidden" name="amount" value="9.99">
field of the Paypal button.
The order total in my shopping cart has a unique tag around it:
<strong class="accent_02">$9.99</strong>
Is it possible to use javascript or anything else to dynamically extract the text between this tag and place into value field of the paypal button?
0 REPLIES 0

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Pay for shipping using PayPal & create aibill via PayPal? in About Payments (Archive)
- Discount code field / options for checkout? in About Business (Archive)
- TRYING TO ISSUE REFUND-NOTHING IS WORKING in About Payments (Archive)
- Porblema with , REST API apps. please help in About Settings (Archive)
- How do I cancel a pending/unclaimed peyment? in About Payments (Archive)