Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal WPP Direct Payments & Express Checkout Support


dynamoeffects

Recommended Posts

Thank you for the reply Brian,

I'm new to the pear program and i'm wondering how do i install the pear modules? Do i just upload all the pear modules to /pear or i'll need to install pear base program first. One thing for sure is that my server support pear!

I've uploaded and insatlled as instructed. I'm looking forward for anyone who can help me with this and those who're new like me :)

Link to comment
Share on other sites

Thank you for the reply Brian,

I'm new to the pear program and i'm wondering how do i install the pear modules? Do i just upload all the pear modules to /pear or i'll need to install pear base program first. One thing for sure is that my server support pear!

I've uploaded and insatlled as instructed. I'm looking forward for anyone who can help me with this and those who're new like me :)

 

Sorry, Actually I'm not sure if my server support Pear. Do i need to install to base program?? How do i install it, please share you experience installing pear and the paypal pear modules.

 

Ware Regards,

Andre

Link to comment
Share on other sites

If you don't have a 'customers' table, you either haven't installed osCommerce yet or you're trying to apply the update to the wrong database.

 

 

This is what i get''

ALTER TABLE `customers` ADD `customers_paypal_payerid` VARCHAR( 20 );

ALTER TABLE `customers` ADD `customers_paypal_ec` TINYINT (1) UNSIGNED DEFAULT '0' NOT NULL;

 

i have looked over the topic but theres nothing to help, i i have loaded it into the correct database, shop.

 

But i still shows this, above??

Link to comment
Share on other sites

HELP!!!!!!!!!!

 

went to install the paypal_wpp.sql via myphp but this came up????

 

There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

 

ERROR: Unknown Punctuation String @ 213

STR: //

SQL: <?php

/*

$Id: paypal_wpp.php,v 0.7.3 2006/03/23 Brian Burton [email protected] Exp $

 

Copyright © 2005 Brian Burton - [email protected]

 

Released under the GNU General Public License

*/

 

//If the user installed the included pear modules, make sure it's in the include path

if (trim(MODULE_PAYMENT_PAYPAL_DP_PEAR_PATH) != '') {

if (is_dir(MODULE_PAYMENT_PAYPAL_DP_PEAR_PATH)) {

 

$inc = ini_get('include_path');

$inc_exp = explode(PATH_SEPARATOR, $inc);

 

if(!in_array(MODULE_PAYMENT_PAYPAL_DP_PEAR_PATH, $inc_exp)) {

ini_set('include_path', $inc . PATH_SEPARATOR . MODULE_PAYMENT_PAYPAL_DP_PEAR_PATH);

}

}

}

 

class paypal_wpp {

var $code, $title, $description, $enabled;

 

function paypal_wpp() {

global $order;

$this->code = 'paypal_wpp';

$this->codeTitle = 'PayPal Website Payments Pro';

$this->codeVersion = '0.7';

 

//STORE_OWNER_EMAIL_ADDRESS

$this->enableDebugging = ((MODULE_PAYMENT_PAYPAL_DP_DEBUGGING == 'True') ? '1' : '0');

 

$this->title = MODULE_PAYMENT_PAYPAL_DP_TEXT_TITLE;

$this->description = MODULE_PAYMENT_PAYPAL_DP_TEXT_DESCRIPTION;

$this->sort_order = MODULE_PAYMENT_PAYPAL_DP_SORT_ORDER;

$this->enabled = ((MODULE_PAYMENT_PAYPAL_DP_STATUS == 'True') ? true : false);

if ((int)MODULE_PAYMENT_PAYPAL_DP_ORDER_STATUS_ID > 0) {

$this->order_status = MODULE_PAYMENT_PAYPAL_DP_ORDER_STATUS_ID;

}

if (is_object($order)) $this->update_status();

}

 

function update_status() {

global $order;

 

if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_PAYPAL_DP_ZONE > 0) ) {

$check_flag = false;

$check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_PAYPAL_DP_ZONE . "' and zone_country_id = '" . $order->billing['country']['id'] . "' order by zone_id");

while ($check = tep_db_fetch_array($check_query)) {

if ($check['zone_id'] < 1) {

$check_flag = true;

break;

} elseif ($check['zone_id'] == $order->billing['zone_id']) {

$check_flag = true;

break;

}

}

 

if ($check_flag == false) {

$this->enabled = false;

}

}

}

 

function javascript_validation() {

global $paypal_ec_token, $paypal_ec_payer_id, $paypal_ec_payer_info;

 

if (tep_session_is_registered('paypal_ec_token') && tep_session_is_registered('paypal_ec_payer_id') && tep_session_is_registered('paypal_ec_payer_info')) {

return false;

} else {

$js = ' if (payment_value == "' . $this->code . '") {' . "\n" .

' var cc_firstname = document.checkout_payment.paypalwpp_cc_firstname.value

 

SQL query:

 

<?php /* $Id: paypal_wpp.php,v 0.7.3 2006/03/23 Brian Burton [email protected] Exp $ Copyright © 2005 Brian Burton - [email protected] Released under the GNU General Public License */ //If the user installed the included pear modules, make sure it's in the include path if (trim(MODULE_PAYMENT_PAYPAL_DP_PEAR_PATH) != '') { if (is_dir(MODULE_PAYMENT_PAYPAL_DP_PEAR_PATH)) { $inc = ini_get('include_path'); $inc_exp = explode(PATH_SEPARATOR, $inc); if(!in_array(MODULE_PAYMENT_PAYPAL_DP_PEAR_PATH, $inc_exp)) { ini_set('include_path', $inc . PATH_SEPARATOR . MODULE_PAYMENT_PAYPAL_DP_PEAR_PATH); } } } class paypal_wpp { var $code, $title, $description, $enabled; function paypal_wpp() { global $order; $this->code = 'paypal_wpp'; $this->codeTitle = 'PayPal Website Payments Pro'; $this->codeVersion = '0.7'; //STORE_OWNER_EMAIL_ADDRESS $this->enableDebugging = ((MODULE_PAYMENT_PAYPAL_DP_DEBUGGING == 'True') ? '1' : '0'); $this->title = MODULE_PAYMENT_PAYPAL_DP_TEXT_TITLE; $this->description = MODULE_PAYMENT_PAYPAL_DP_TEXT_DESCRIPTION; $this->sort_order = MODULE_PAYMENT_PAYPAL_DP_SORT_ORDER; $this->enabled = ((MODULE_PAYMENT_PAYPAL_DP_STATUS == 'True') ? true : false); if ((int)MODULE_PAYMENT_PAYPAL_DP_ORDER_STATUS_ID > 0) { $this->order_status = MODULE_PAYMENT_PAYPAL_DP_ORDER_STATUS_ID; } if (is_object($order)) $this->update_status(); } function update_status() { global $order; if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_PAYPAL_DP_ZONE > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_PAYPAL_DP_ZONE . "' and zone_country_id = '" . $order->billing['country']['id'] . "' order by zone_id"); while ($check = tep_db_fetch_array($check_query)) { if ($check['zone_id'] < 1) { $check_flag = true; break; } elseif ($check['zone_id'] == $order->billing['zone_id']) { $check_flag = true; break; } } if ($check_flag == false) { $this->enabled = false; } } } function javascript_validation() { global $paypal_ec_token, $paypal_ec_payer_id, $paypal_ec_payer_info; if (tep_session_is_registered('paypal_ec_token') && tep_session_is_registered('paypal_ec_payer_id') && tep_session_is_registered('paypal_ec_payer_info')) { return false; } else { $js = ' if (payment_value == "' . $this->code . '") {' . "\n" . ' var cc_firstname = document.checkout_payment.paypalwpp_cc_firstname.value

Link to comment
Share on other sites

This may help people who would like to see the PayPal payment status (Completed", Pending (eCheck) or any others there may be) in the list of orders in admin.

 

Also included are alternate directions to add the Order ID in addition to the PayPal payment status to the list if you would like to.

 

I use the payment status retruned from PayPal while viewing the day's orders to make sure I don't ship any items to someone that used this excellent PayPal WPP contribution with an eCheck before the payment clears.

 

Here is how I did it - there may be a better way but this worked for me:

 

I added a field to my orders table called ppstat using the following statement in MySQL:

 

ALTER TABLE `orders` ADD `ppstat` TEXT NULL DEFAULT NULL;

 

Then in /includes/modules/payment/paypal_wpp.php (in the after_process() function):

 

Look for:

 

tep_db_query("update ".TABLE_ORDERS_STATUS_HISTORY. " set comments = concat(if(trim(comments) != '', concat(trim(comments), '\n'), ''), 'Transaction ID: ".$this->trans_id."\nPayment Type: ".$this->payment_type."\nPayment Status: ".$this->payment_status.($this->avs != 'N/A' ? "\nAVS Code: ".$this->avs."\nCVV2 Code: ".$this->cvv2 : '')."') where orders_id = ".$insert_id);

 

and right under it add:

 

tep_db_query("update ".TABLE_ORDERS. " set ppstat = '". $this->payment_status ."' where orders_id = ".$insert_id);

 

Then, in admin/orders.php:

 

Look for the following (in three occurances of the $orders_query_raw query - be sure to change all three occurances) :

 

 o.currency_value,

 

and change it to:

 

o.currency_value, o.ppstat,

 

and, still in /admin/orders.php, look for:

 

<td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_STATUS; ?></td>

 

under that add:

 

<td class="dataTableHeadingContent" align="right"><?php echo 'Payment Status'; ?></td>

 

Then, just a little further down, still in /admin/orders.php, look for:

 

<td class="dataTableContent" align="right" <?php echo $onclick; ?>><?php echo $orders['orders_status_name']; ?></td>

 

and under that add:

 

 <td class="dataTableContent" align="right" <?php echo $onclick; ?>><?php echo $orders['ppstat']; ?></td>

 

Now in admin you will see the "Completed", "Pending (echeck)" or other staus in a column in your orders list.

 

You can of course change where the status shows up by altering where you put the table heading and table content statements above.

 

I also have the Order ID show up in my orders list.

 

I have it right after the Payment Status as follows but you can put the column anywhere, again by altering where you put the table heading and table content statements.

 

To add both the Payment Status and Order ID at the same time - instead of the last two steps above look for:

 

[code]<td class="dataTableContent" align="right" <?php echo $onclick; ?>><?php echo $orders['orders_status_name']; ?></td>

 

and then right under it add:

 

<td class="dataTableHeadingContent" align="right"><?php echo 'Payment Status'; ?></td>
<td class="dataTableHeadingContent" align="right"><?php echo 'Order ID'; ?></td>

 

I use the Order ID for a script I hacked that allows me to enter a starting order id and an ending ID that then returns all the orders in that range with the info I need to email my warehouse to ship to the orders.

 

I am sure others would like to be able to see the order id in the orders list for other reasons so I include it here.

 

I hope this helps someone.

 

BFCase

Link to comment
Share on other sites

Brian

1. Because the money is coming from Jane's credit card, not her paypal account. They aren't one in the same.

I made the incorrect assumption that because the credit card number was issued by paypal, that any transaction on this card would also show up in the paypal account.

2. Because you're using the sandbox. When you go live, it'll give you an error.

I have activated the live paypal account and performed some smaller test transactions with a live credit card. I made 3 payments, 2 of these payments had incorrect credit card expiration dates. All 3 transactions were processed by paypal. I called my credit card to confirm the transaction and they showed all 3 transactions as processed correctly.

 

So I must be missing something. Is there a paypal or wpp module setup that effects credit card exp. dates validation ?

 

thx andy

Link to comment
Share on other sites

So I must be missing something. Is there a paypal or wpp module setup that effects credit card exp. dates validation ?

 

Andy,

The WPP module does a simple validation to check that the information is a valid month and year, and that it is not in the past. If the expiry date is valid, it is sent to PayPal as part of the request. Depending on whatever black magic PayPal applies, the request may be approved or declined. PayPal first checks the billing country code to ensure that the card was issued in a country that PayPal supports. Then they send the request through the card verification network to the issuing bank. That bank will approve or decline the transaction based on its own criteria. In general, banks will decline transactions where the expiry date is incorrect, but there might be exceptions to that rule.

 

--Glen

Link to comment
Share on other sites

Hello, can anyone please help me with this???

What do you mean by "install them on your server using pear." in the Pear Modules sections?

I've been told that my shared sever support Pear.

 

Thanks in advance.

Andre

Link to comment
Share on other sites

You just copied and pasted your answer: (Currently, PayPal's API only supports USD)

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

Hello - I have installed this contribution and am encountering this error when testing the Direct Payment feature (express payment works fine):

-------------------------------------------------

Your credit card was declined. Please try another card or contact your bank for more info.

Invalid Data (10509)

This transaction cannot be processed.

-------------------------------------------------

This error code is due to the payer's IP address not being passed. Any idea on why this could be happening?

I am not using Sandbox, this is live.

Thanks

Link to comment
Share on other sites

I keep getting:

 

There has been an error processing your credit card. Please try again.

 

I added print_r($order, true) to \catalog\includes\modules\payment\paypal_wpp.php. Here is the value:

 

order Object ( [info] => Array ( [order_status] => 1 [currency] => USD [currency_value] => 1.00000000 [payment_method] => Paypal Website Payments Pro [cc_type] => MasterCard [cc_owner] => Matt White [cc_number] => 5571XXXXXXXX7881 [cc_expires] => 2007 [shipping_method] => United States Postal Service (1 x 0.5lbs) (First-Class Mail) [shipping_cost] => 2.07 [subtotal] => 29.99 [tax] => 2.3992 [tax_groups] => Array ( [NY TAX 8.0%] => 2.3992 ) [comments] => [total] => 34.4592 ) [totals] => Array ( ) [products] => Array ( [0] => Array ( [qty] => 1 [name] => 10k Y Gold Heart & X Charm Ankle Bracelet Italian Made [model] => [tax] => 8 [tax_description] => NY TAX 8.0% [price] => 29.9900 [final_price] => 29.99 [weight] => 0.30 [id] => 77 ) ) [customer] => Array ( [firstname] => Matt [lastname] => White [company] => [street_address] => **** [suburb] => [city] => Endwell [postcode] => 13760 [state] => New York [zone_id] => 43 [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [format_id] => 2 [telephone] => 607-123-4567 [email_address] => **** ) [delivery] => Array ( [firstname] => Matt [lastname] => White [company] => [street_address] => **** [suburb] => [city] => Endwell [postcode] => 13760 [state] => New York [zone_id] => 43 [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [country_id] => 223 [format_id] => 2 ) [content_type] => physical [billing] => Array ( [firstname] => Matt [lastname] => White [company] => [street_address] => **** [suburb] => [city] => Endwell [postcode] => 13760 [state] => New York [zone_id] => 43 [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [country_id] => 223 [format_id] => 2 ) )

 

(I blanked out some of my personal info with the *s)

 

I was originally getting the 2030 error about couldn't find the certificate, but I added a leading / to the certificate path to fix it.

 

Any help you could give would be great.

Link to comment
Share on other sites

Hello,

I have a lot of other mods so I am installing this bit by bit copying the code between the

//---PayPal WPP Modification START ---//

and END lines.

 

I have a stupid question:

inside includes/classes/payment.php

there is a bunch of CCGV Contribution code that is not in the original file.

 

I am not using the CCGV Contribution. Should I skip over copying this code or does the PayPal WPP Modification need it to be in there?

 

Thanks

Edited by yomama360

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself.

Therefore, all progress depends upon the unreasonable man."

-- George Bernard Shaw

Link to comment
Share on other sites

Another find:

/includes/modules/payment/paypal_wpp.php does not have a " ?> " in the file.

 

Should it have one at the end? Does it matter?

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself.

Therefore, all progress depends upon the unreasonable man."

-- George Bernard Shaw

Link to comment
Share on other sites

Hello - I have installed this contribution and am encountering this error when testing the Direct Payment feature (express payment works fine):

-------------------------------------------------

Your credit card was declined. Please try another card or contact your bank for more info.

Invalid Data (10509)

This transaction cannot be processed.

-------------------------------------------------

This error code is due to the payer's IP address not being passed. Any idea on why this could be happening?

I am not using Sandbox, this is live.

Thanks

 

The only way this would be occuring is if your webhost disallowed access to the $_SERVER variables, which would be rediculous.

 

I just looked at the SDK documentation and there's no mention that the 10509 error means that the IP address wasn't passed. Looks like it just means the data was bad. Where did you see that information?

 

I was originally getting the 2030 error about couldn't find the certificate, but I added a leading / to the certificate path to fix it.

 

Any help you could give would be great.

 

 

The 2030 error is specific to pbreit's module, so I'm going to take a wild guess and assume that you're using his module. If you are using mine, turn the "Debug Mode" option in the admin to "True". My module modifies the data in the $order array, so I'd need to see what's getting passed to PayPal to know what's going on.

 

Hello,

I have a lot of other mods so I am installing this bit by bit copying the code between the

//---PayPal WPP Modification START ---//

and END lines.

 

I have a stupid question:

inside includes/classes/payment.php

there is a bunch of CCGV Contribution code that is not in the original file.

 

I am not using the CCGV Contribution. Should I skip over copying this code or does the PayPal WPP Modification need it to be in there?

 

Thanks

 

Just ignore that, it was a mistake on my part. The next version is based off of the lastest version of OSC without any other modules.

 

Another find:

/includes/modules/payment/paypal_wpp.php does not have a " ?> " in the file.

 

Should it have one at the end? Does it matter?

 

Sounds like the file didn't get fully uploaded. Upload it again.

Edited by dynamoeffects

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

Please HELP!! Thanks to your wonderful support in the past, I had this module up and running in my store. However, I had to transfer my db from an existing store to this new one and when I did this I get the error that I see some others have gotten - undefined function setopt(). I've tried to follow the instructions from the other posts/replies in this forum:

I re-uploaded all the pear files from scratch, I re-uploaded the pear modules that you uploaded with the package, I checked and rechecked the api path, username, password. I've contacted my hosting about the curl function to ask if he disabled it, but I'm waiting for a reply.

BUT IT WAS WORKING.

Any advice?

Thank you so much!!

Link to comment
Share on other sites

Hi,

I'm new to the site but have an osc shopping cart that I'm setting up and want to use Paypal's Payment Pro solution and wondered if someone can give me a link to the most recent contribution. I've seen a couple of different ones mentioned on this forum and would like the one that is relatively easy to install and works well (if such a thing exists). I can't afford to pay $250 to a developer to customize my site for Payment Pro. Thanks very much for any help.

 

Is this the most updated contribution: PayPal Website Payments Pro by dynamoeffects v0.7.3

Link to comment
Share on other sites

This is where you download the most recent Contrib from: (v0.7.3)

http://www.oscommerce.com/community/contributions,3647/

 

Also I would like to clarify something that was not clear to me until figured it out after hours of frustration.

 

You will need a different API Certificate from PayPal for testing in the sandbox and one for the Live store. (ok, looking back it should have been obvious).

 

To get the live API Certificate you need to go through PayPal normally and follow the installation instructions from the readMe of this mod:

a. Goto My Account -> Profile.

b. Click the API Access link.

c. Click the (Request) API Certificate Request link.

d. Complete the certificate request. (I used the API SSL Client-Side Certificate)

e. Click on download and save the file to your computer.

 

to get the testing sandbox Cert you need to follow these instructions exactly:

https://www.paypal.com/IntegrationCenter/ic_sandbox.html

 

You can put the sandbox cert in the same catalog\includes\modules\payment\wpp_cert folder as the live one. Give them different names and in your Admin panel simply change the API path to the testing or to the live cert you are using.

 

It seems a lot of posts on this thread mentioned problems with "Live vs Sandbox" versions working or not working, so maybe Im not the only one for whom this was not clear.

 

Enjoy

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself.

Therefore, all progress depends upon the unreasonable man."

-- George Bernard Shaw

Link to comment
Share on other sites

I put up a post earlier in the week about the setopt() function not being defined. I tried all the solutions suggested on this thread and came to a dead end. My hosting person literally spent hours upon hours working this out with me (and by himself). It was absolutely not a hosting issue. It's worth paying a little bit more for a great hosting!! Try alsonetworks.com.

Link to comment
Share on other sites

Hi all,

 

i have amjor problem with the payment pro . asi have two server and i have installed on botth the server . and on one server there is no SSL and on that server my payment pro is working fine. and on emy seccond server wheer SSL is enabled . my site is running under the SSL . and on that Payment pro is not working .

 

i have all the setup and i am fullfilling all the requiremnt like

 

1- pear under catalog

2- curl Support

3- Open SSL

4- API suer name/Password

5- API Sertificate key

 

 

Everything is there .

 

you can check my url - www.alphaimports.net on this its is not working .

 

What is happening i am explaining you .

 

when we click on the Express button . its goes to the ec_process.php page and execute the code but after 1-2 seccond it show page cannt be found . when i try to debug the code i found that code on page is working paypal_wpp.php file is executed and the ec_step1() function is also excuted. but i think there is some problem with the paypal_init() function or any wher else. after ecliking the Express button itsexcte the code and after 2-3 seccond it shows the" page cannt found".

 

and seccond is my www.maniweb.net/newalpha/

 

here it is working fine. please help me . its very urgent . please help me .

 

help me help me help me. please i have looked all the files and checked all the things everthing seems perfect but its is not working .

Link to comment
Share on other sites

Hi all,

 

i have amjor problem with the payment pro . asi have two server and i have installed on botth the server . and on one server there is no SSL and on that server my payment pro is working fine. and on emy seccond server wheer SSL is enabled . my site is running under the SSL . and on that Payment pro is not working .

 

i have all the setup and i am fullfilling all the requiremnt like

 

1- pear under catalog

2- curl Support

3- Open SSL

4- API suer name/Password

5- API Sertificate key

 

 

Everything is there .

 

you can check my url - www.alphaimports.net on this its is not working .

 

What is happening i am explaining you .

 

when we click on the Express button . its goes to the ec_process.php page and execute the code but after 1-2 seccond it show page cannt be found . when i try to debug the code i found that code on page is working paypal_wpp.php file is executed and the ec_step1() function is also excuted. but i think there is some problem with the paypal_init() function or any wher else. after ecliking the Express button itsexcte the code and after 2-3 seccond it shows the" page cannt found".

 

and seccond is my www.maniweb.net/newalpha/

 

here it is working fine. please help me . its very urgent . please help me .

 

help me help me help me. please i have looked all the files and checked all the things everthing seems perfect but its is not working .

Link to comment
Share on other sites

Can anyone tell me why I am getting this error.

 

 

Fatal error: Call to undefined function: setopt() in /home/fernando/public_html/catalog/includes/modules/payment/paypal_wpp.php on line 324

Link to comment
Share on other sites

This is where you download the most recent Contrib from: (v0.7.3)

http://www.oscommerce.com/community/contributions,3647/

 

Also I would like to clarify something that was not clear to me until figured it out after hours of frustration.

 

You will need a different API Certificate from PayPal for testing in the sandbox and one for the Live store. (ok, looking back it should have been obvious).

 

To get the live API Certificate you need to go through PayPal normally and follow the installation instructions from the readMe of this mod:

a. Goto My Account -> Profile.

b. Click the API Access link.

c. Click the (Request) API Certificate Request link.

d. Complete the certificate request. (I used the API SSL Client-Side Certificate)

e. Click on download and save the file to your computer.

 

to get the testing sandbox Cert you need to follow these instructions exactly:

https://www.paypal.com/IntegrationCenter/ic_sandbox.html

 

You can put the sandbox cert in the same catalog\includes\modules\payment\wpp_cert folder as the live one. Give them different names and in your Admin panel simply change the API path to the testing or to the live cert you are using.

 

It seems a lot of posts on this thread mentioned problems with "Live vs Sandbox" versions working or not working, so maybe Im not the only one for whom this was not clear.

 

Enjoy

 

Hi,

Thanks so much for the information and clarification about the live vs. sandbox APIs. I really appreciate it!!!! Did you have any other problems other than the API issue?

Link to comment
Share on other sites

Hi everyone,

I was hoping someone can direct me to the right file to check look at.

 

I've solved all my problems and have finally installed many contributes and everything seems to be working. I've used to search feature for everything.

 

However, due to (i suppose) the key words i'm choosing, I can't seem to find a straight answer for my question.

 

I am using the most recent version of this paypal module. Everything works, the money is transferred and both the customer and myself are notified of the sale. The problem is, the "Order Process" email sent to the customer is being sent twice. This does not happen any other time (ie: when i change the status). It just sends it twice initially.

 

I don't even know where to begin looking. Can anyone point me in the right direction? Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...