logo
Previous Thread
Next Thread
Print Thread
#213123 09/28/05 08:40 AM
Joined: Sep 2005
Posts: 1
Skip Offline OP
Newbie
OP Offline
Newbie
Joined: Sep 2005
Posts: 1
I have been trying to test this code to see if it'll do what I want with Paypal, and although I can get the code to run it does not do what i expect.

I completed the SendString identical to the form post. What's supposed to happen? I would expect in the browser or a new browser the paypal payment window to show. All I get is a small paypal screen not the payment windows. Is there something else I need to do.

Here is the code that is used.

DestURL = "http://www.paypal.com/etc."
SendString = "NOTE-PAYPAL-VARS-GO-HERE"

set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.open "POST", Desturl, false
xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xmlhttp.send SendString
Response.write xmlhttp.responseText
set xmlhttp = nothing


SendString="cmd=_xclick&no_shipping=2&amount=10.00&item_number=testitem&business=test@testing.com&bn=PP-BuyNowBF"

Sponsored Post Advertisement
Joined: Jan 2004
Posts: 22,934
Likes: 4
BellaOnline Editor
Highest Posting Power Known to Humanity
Offline
BellaOnline Editor
Highest Posting Power Known to Humanity
Joined: Jan 2004
Posts: 22,934
Likes: 4
I do a ton of PayPal sales on my various websites, and I really recommend using the PayPal created button. That way it's right on your site, it is fully encrypted and it contains everything necessary for the purchase to take place. I in fact explain the whole procedure in my shopping carts ebook. Is there a reason you aren't using their button?


Lisa Shea, Low Carb and Video Games Editor
Low Carb Forum
Joined: Dec 2006
Posts: 493
Likes: 3
Gecko
Offline
Gecko
Joined: Dec 2006
Posts: 493
Likes: 3
I agree, the PayPal button works just fine.


diamond engagement rings
*www.encoredt.com

Moderated by  Lisa LowCarb 

Link Copied to Clipboard
Brand New Posts
Make It Sew Easier
by Cheryl - Sewing Editor - 03/27/24 04:34 PM
2024 - on this day in the past ...
by Mona - Astronomy - 03/27/24 01:31 PM
Planner Template Kit - Weekly Layout Template
by Digital Art and Animation - 03/26/24 07:39 PM
Planner Template Kit - Yearly Layout Template
by Digital Art and Animation - 03/26/24 07:37 PM
How to Use Digital Planner Template Kit
by Digital Art and Animation - 03/26/24 07:36 PM
Review - 20 Illustrator Color tips Helen Bradley
by Digital Art and Animation - 03/26/24 07:32 PM
March Equinox to June Solstice
by Mona - Astronomy - 03/26/24 12:27 PM
Hobotrader unleashes never seen opportunity with i
by Jamal molla - 03/26/24 11:55 AM
Psalm for the day
by Angie - 03/25/24 09:05 AM
Genealogy, Sort of
by Angie - 03/24/24 05:39 PM
Sponsor
Safety
We take forum safety very seriously here at BellaOnline. Please be sure to read through our Forum Guidelines. Let us know if you have any questions or comments!
Privacy
This forum uses cookies to ensure smooth navigation from page to page of a thread. If you choose to register and provide your email, that email is solely used to get your password to you and updates on any topics you choose to watch. Nothing else. Ask with any questions!


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2022 Minerva WebWorks LLC. All rights reserved.


Powered by UBB.threads™ PHP Forum Software 7.7.5