close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

API Credentials

Thread begun 1/04/2013 2:18 pm by michael378527 | Last modified 1/11/2013 1:36 pm by michael378527 | 946 views | 3 replies |

michael378527

API Credentials

In pp_confirm.php and checkout.php the information requested is consistent with the PayPal API credentials asking for "Username" "Password" and "Signature" but in confirm.php it asks for "USER" "VENDOR" "PARTNER" "PWD" which are not. In a post from 2010 (See Below) explaining how to disable the sandbox you refer to these 3 scripts suggesting they are all the same. I do not know what data to put into the confirm.php script to make the sandbox work. The confirm.php script also does not contain the sandbox

What do I need to include in the confirm.php script. Is it the same as the login information for the paypal manager account?


Text from post explaining how to disable UseSandbox.

the paypal code is added to the checkout.php, confirm.php and pp_confirm.php page bu the checkout wizard.


on those pages look for code siomilar to:

$WA_PP_ECO_Set_params[0][$nextIndex] = "UseSandbox";
$WA_PP_ECO_Set_params[1][$nextIndex] = "true";


and change it to false.

also on those pages, the code that passes the API Username, password and Signature will need to be changed to use the live api info, it will look similar to:

$WA_PP_ECO_Set_params[0][$nextIndex] = "Username";
$WA_PP_ECO_Set_params[1][$nextIndex] = "<api user>";
$nextIndex = count($WA_PP_ECO_Set_params[0]);
$WA_PP_ECO_Set_params[0][$nextIndex] = "Password";
$WA_PP_ECO_Set_params[1][$nextIndex] = "<api pass>";
$nextIndex = count($WA_PP_ECO_Set_params[0]);
$WA_PP_ECO_Set_params[0][$nextIndex] = "Signature";
$WA_PP_ECO_Set_params[1][$nextIndex] = "<api sig>";

Sign in to reply to this post

michael378527

I need this information to continue testing and implementing

I am not sure how the forum works as I have not had a need to use it. I do now.

In the above post I may not have been clear enough as to the issue. I can make the sandbox work. I have put the correct credentials in the files pp_confirm.php and checkout.php. The file confirm.php does not use the same information and I would really appreciate knowing what information to use. In the first two they use user, vendor and pwd which are the credentials provided by Paypal both for the sandbox and live system. In confirm.php it uses user, vendor, partner and pwd which are not provided as part of the paypal credentials. Does anyone have this information?

Sign in to reply to this post

Jason ByrnesWebAssist

rather than making the change directly in code view, open the server behaviors panel, and find the eCart Local Checkout Server behavior. Double click it to make edits. it should be clearer to edit in the server behaviors rather than editing the code.

Sign in to reply to this post

michael378527

Got It

Thanks for the suggestion. I went ahead and used the PayPal manage login information in the confirm.php page and it worked.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...