SwishTalk.com
 

Go Back   SwishTalk.com > >

Reply
 
Thread Tools Display Modes
#1   Error on paypal script; can someone help please  

Name: 
shobha
Status: Offline
Rank: SWiSHer
Posts: 18
Old 06-25-2014, 04:01 AM Reply With Quote


there are two functions for the paypal shopping cart:

1. buy now button, working fine

on (press) {
add ="1";
cmd ="_cart";
business = "MyBusiness@Adomain.com";
item_name ="Animal Clips 512Kbs";
amount = "4.99";
currency_code = "GBP";
getURL("https://www.paypal.com/cgi-bin/webscr","_blank","POST");
}

2. VIEW shopping cart items with an error

on (press) {
cmd ="_cart";
business = "MyBusiness@Adomain.com";
display = 1;
getURL("https://www.paypal.com/cgi-bin/webscr","_blank","POST");
}

viewing the shopping cart items once or several times, every time the script adds 1 more unit to the last "bought now" item automatically.

Unfortunately I`m not experienced enough to find the error myself.
Could someone please help?

thank you




               
 
View Public Profile Send a private message to shobha Find all posts by shobha Add shobha to Your Contacts
#2    
 
cycle1500's Avatar

Name: 
cycle1500
Status: Offline
Rank: Oberlin, Ohio, USA
Posts: 1,498
Mood: MEAN: Do's not play well
Old 06-25-2014, 05:58 AM Reply With Quote


try posting your working files so they can be checked. Zip or Rar them.


               
__________________
The Hairy One
Wayne helps those that helps themselves.
 
View Public Profile Send a private message to cycle1500 Find all posts by cycle1500 Add cycle1500 to Your Contacts
#3   Error on paypal script; can someone help please  

Name: 
shobha
Status: Offline
Rank: SWiSHer
Posts: 18
Old 06-26-2014, 03:54 AM Reply With Quote


Hi cycle 1500
here are the files in .zip format.
Would be great if you could go through them.
Thanks Shobha




Attached Files
File Type: zip paypal-interface.zip (28.2 KB, 8 views)
               
 
View Public Profile Send a private message to shobha Find all posts by shobha Add shobha to Your Contacts
#4    
 
cycle1500's Avatar

Name: 
cycle1500
Status: Offline
Rank: Oberlin, Ohio, USA
Posts: 1,498
Mood: MEAN: Do's not play well
Old 06-26-2014, 07:53 AM Reply With Quote


give this a shot.


Attached Files
File Type: swi pay_interface-org2.swi (113.5 KB, 13 views)
               
__________________
The Hairy One
Wayne helps those that helps themselves.
 
View Public Profile Send a private message to cycle1500 Find all posts by cycle1500 Add cycle1500 to Your Contacts
#5    
 
cycle1500's Avatar

Name: 
cycle1500
Status: Offline
Rank: Oberlin, Ohio, USA
Posts: 1,498
Mood: MEAN: Do's not play well
Old 08-08-2014, 03:32 AM Reply With Quote


I don't always log in so PMing me last month for help went until now.
If you want the file you need to post what version of Swish you are using. I've got versions back to where they first started.

Try this code change on you basket button.
Code:
on (press) {
    cmd ="_cart";
    business = "webmaster@animatedscience.co.uk";
    //display = 1;
    getURL("https://www.paypal.com/cgi-bin/webscr", "_blank","POST");
    playSound("pay_button2.mp3",true,80,1,false,false,'Pan Right to Left');
}
Wayne


               
__________________
The Hairy One
Wayne helps those that helps themselves.
 
View Public Profile Send a private message to cycle1500 Find all posts by cycle1500 Add cycle1500 to Your Contacts
Advertisement:





Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump