Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal WPP Direct Payments & Express Checkout Support


dynamoeffects

Recommended Posts

Olly tested my site with his switch card and it worked !

And the SOLO card, did that work too?

 

Can you please forward me the files for your modifications so i can test it before adding it a live store? I have already downloaded the full WPP contribution so if you can just give me the files with your modifications that would be great!

 

Thanks

Edited by chooch

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

Nice work! I also have the UK modifications done, but realized that Switch/Solo cards can't be tested in the sandbox, so I'm uploading what I have now. Test it out and let me know if it works for you UK guys.

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

Nice work! I also have the UK modifications done, but realized that Switch/Solo cards can't be tested in the sandbox, so I'm uploading what I have now. Test it out and let me know if it works for you UK guys.

 

Brian - a great module contribution -- thanks. Am i right to assume that with Paypal Pro we are

limited to one currency in actual use, for example my US Paypal Pro account seems limited to USD and won't

accept the new beta with another currency such as Euros. We've also applied for a UK Paypal Pro

account to see if that behaves any different, i expect it will be GBP only. In an ideal world we would like to be able to accept either USD and Euros and have the credit card transaction in the currency chosen by the customer.

Thanks in advance for any pointers

 

Andrew

Link to comment
Share on other sites

This is a frikkin nightmare, Has anyone in the UK actually got through the mess of a sign up routine they have put in place ? Eliw how did you get your live account ? I'm calling them tomorrow - has anyone asked them when thay are offering GBP API !

 

Yes it seems if you apply for an payments pro account from within your Paypal account,

the submit application pages are hosed.

I had to logout, find the information on web payments pro on the external pages, and then submit there.

 

Paypal UK front page (not logged in) -> Merchant Tools (scroll down)

-> Web Payments Pro Sign Up link -> next screen continue

-> login with existing acct info

-> go thru web manager screens, submit application

-> login and then find information and faxback form for further verification

 

Hope that helps

Andrew

Link to comment
Share on other sites

@ajosey: Paypal allows you to select any currency that they support. If you have an account for USD and you receive GBP, it will ask you if you want to convert it to dollars or create a separate GBP account.

 

When using OSC, the customer can change the currency to whatever they want, and the prices will be calculated based on the current exchange rates. When they checkout, you will receive the currency of your choice while all the customer sees is their local currency. The currency you set in the module's settings only reflects the currency that will be added to your PayPal account.

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

When using OSC, the customer can change the currency to whatever they want, and the prices will be calculated based on the current exchange rates. When they checkout, you will receive the currency of your choice while all the customer sees is their local currency. The currency you set in the module's settings only reflects the currency that will be added to your PayPal account.

 

Brian, thanks. Do you see a time when the module might handle multiple currencies added to the Paypal account

dependent on the customer selection, for example in our business we are happy to receive payments to

our paypal account in usd, euros and gbp, so our customers get the transaction on their cards in the same currency and not face any additional transaction fees from the credit card companies for a foreign currency? Or is this limited by Payments Pro to one currency?

 

regards

andrew

Link to comment
Share on other sites

PayPal installed an upgrade today and managed to reset the "confirmed email" flag on at least some accounts. If you have been receiving error 10507 on credit card transactions (Direct Payments API) or 10448 on Express Checkout transactions, you can work around the problem by adding a secondary email address to your account and confirming it. PayPal tech support suggested this; I tried it and it worked. They claim to be working to resolve the issue.

 

--Glen

Link to comment
Share on other sites

PayPal IPN and WPP - I am getting 2 errors and I think it has to do with the PayPal IPN? I get an image that tries to download when I'm in the OSC admin, but the image never shows. It's an image that's coming from the PayPal secure side of their site. It looks like this: "https://www.paypal.com%3c/td%3E%20%20%3C/tr%3E%3C/table%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C/td%3E%20%20%20%20%20%20%20%20%20%20%3C/tr%3E%20%20%20%20%20%20%20%20%3C/table%3E%3C/td%3E%20%20%20%20%20%20%3C/tr%3E%20%20%20%20%3C/table%3E%3C/td%3E%3C!--%20body_text_eof%20//--%3E%20%20%3C/tr%3E%3C/table%3E%3C!--%20body_eof%20//--%3E%3C!--%20footer%20//--%3E%3Cbr%3E%3Ctable%20border=" There are no quotes, I added these so you can see the entire link.

 

The second error has to do with receiving a notice that I have an order and there is a payment received in PayPal, but no confirmation email is sent from OSC. All I get is a red X next to the order comments in the OSC admin screen. Then when I ship from PayPal, none of the name and address info is completed on their end.

 

I'm trying to figure this out in here because I have the PayPal IPN integrated with the WPP.

 

Any ideas?

 

Many thanks,

Anyone can buy a camera... it's what you do with it that counts!

Sticky Pod

www.stickypod.com

Link to comment
Share on other sites

Dear Dynamoeffects,

 

RE: Paypal in OSC (OSCommerce) Layout problem on Payment page

 

Many thanks in advance for all your work for this really nice module!

I would really appreciate any help or suggestions... I'm kinda' stuck....

I have integrated your Paypal PRO contribution paypal_wpp_0.8.2 in OSC (OSCommerce).

The problem is on the Payments page, that looks a bit confusing,... need to visually separate the 2 payment options which are:

1. The Paypal Direct Payment which accepts all cred cards,

and

2. The Paypal yellow button for checkout.

Need to add the Continue button under the Direct Payment also.

I have tried to edit your code but unsuccessful... too much for me :-(

I attach the links of the screen-shot of wht that page looks like no and the image of what I would like it to look like.

Also attached the code that I think does the job...

 

OSC-Paypal-current.jpg

=============================================

OSC-Paypal-after.jpg

=============================================

 

I also attach the lines of code that I think are relevant in the checkout_Payment.php and hte paypal.php module.

 

Here is the section from checkout_payment.php that calls the Paypal function to build that Payment method area.

 

<tr>

<td><—php echo tep_draw_separator('pixel_trans.gif', '10', '1'); –></td>

<td class="main" width="50%" valign="top"><˜php echo TEXT_SELECT_PAYMENT_METHOD; ™></td>

<td class="main" width="50%" valign="top" align="right"><b><?php echo TITLE_PLEASE_SELECT; ?></b><?php echo tep_image(DIR_WS_IMAGES . 'arrow_east_south.gif'); ?></td>

<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

<?php

} else {

?>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td class="main" width="100%" colspan="2"><?php echo TEXT_ENTER_PAYMENT_INFORMATION; ?></td>

<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

<?php

}

 

$radio_buttons = 0;

for ($i=0, $n=sizeof($selection); $i<$n; $i++) {

?>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2">

<?php

if ( ($selection[$i]['id'] == $payment) || ($n == 1) ) {

echo ' <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n";

} else {

echo ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n";

}

?>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td class="main" colspan="3"><b><?php echo $selection[$i]['module']; ?></b></td>

<td class="main" align="right">

<?php

if (sizeof($selection) > 1) {

echo tep_draw_radio_field('payment', $selection[$i]['id']);

} else {

echo tep_draw_hidden_field('payment', $selection[$i]['id']);

}

?>

 

================================================================================

==

Here is the section from paypal_wpp.php that deals with the info displayed for these payments methods:

 

function selection() {

global $order;

 

for ($i=1; $i < 13; $i++) {

$expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B',mktime(0,0,0,$i,1,2000)));

}

 

$today = getdate();

for ($i=$today['year']; $i < $today['year']+10; $i++) {

$expires_year[] = array('id' => strftime('%y',mktime(0,0,0,1,1,$i)), 'text' => strftime('%Y',mktime(0,0,0,1,1,$i)));

}

 

$selection = array('id' => $this->code,

'module' => MODULE_PAYMENT_PAYPAL_DP_TEXT_TITLE,

'fields' => array(array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_FIRSTNAME,

'field' => tep_draw_input_field('paypalwpp_cc_firstname', $order->billing['firstname'])),

array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_LASTNAME,

'field' => tep_draw_input_field('paypalwpp_cc_lastname', $order->billing['lastname'])),

array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_TYPE,

'field' => tep_draw_pull_down_menu('paypalwpp_cc_type', array(array('id' => 'Visa', 'text' => 'Visa'),

array('id' => 'MasterCard', 'text' => 'MasterCard'),

array('id' => 'Discover', 'text' => 'Discover'),

array('id' => 'Amex', 'text' => 'American Express')))),

array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_NUMBER,

'field' => tep_draw_input_field('paypalwpp_cc_number', '')),

array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_EXPIRES,

'field' => tep_draw_pull_down_menu('paypalwpp_cc_expires_month', $expires_month) . ' ' . tep_draw_pull_down_menu('paypalwpp_cc_expires_year', $expires_year)),

array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_CHECKNUMBER,

'field' => tep_draw_input_field('paypalwpp_cc_checkcode', '', 'size="4" maxlength="4"') . ' <small>' . MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_CHECKNUMBER_LOCATION . '</small>')));

 

if (MODULE_PAYMENT_PAYPAL_DP_BUTTON_PAYMENT_PAGE == 'Yes') {

$selection['fields'][] = array('title' => '<b>' . MODULE_PAYMENT_PAYPAL_DP_TEXT_EC_HEADER . '</b>',

'field' => '<a href="' . tep_href_link('ec_process.php', '', 'SSL') . '"><img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" border=0 style="padding-right:10px;padding-bottom:10px"></a><br><span style="font-size:11px; font-family: Arial, Verdana;">' . MODULE_PAYMENT_PAYPAL_DP_TEXT_BUTTON_TEXT . '</span></td>');

}

 

return $selection;

}

================================================================================

======

 

Best!

 

Theodore

Link to comment
Share on other sites

Dear Dynamoeffects,

 

RE: Paypal in OSC (OSCommerce) Layout problem on Payment page

 

Many thanks in advance for all your work for this really nice module!

I would really appreciate any help or suggestions... I'm kinda' stuck....

I have integrated your Paypal PRO contribution paypal_wpp_0.8.2 in OSC (OSCommerce).

The problem is on the Payments page, that looks a bit confusing,... need to visually separate the 2 payment options which are:

1. The Paypal Direct Payment which accepts all cred cards,

and

2. The Paypal yellow button for checkout.

Need to add the Continue button under the Direct Payment also.

I have tried to edit your code but unsuccessful... too much for me :-(

I attach the links of the screen-shot of wht that page looks like no and the image of what I would like it to look like.

 

OSC-Paypal-current.jpg

=============================================

OSC-Paypal-after.jpg

=============================================

 

I also attach the lines of code that I think are relevant in the checkout_Payment.php and hte paypal.php module.

 

Here is the section from checkout_payment.php that calls the Paypal function to build that Payment method area.

 

<tr>

<td><—php echo tep_draw_separator('pixel_trans.gif', '10', '1'); –></td>

<td class="main" width="50%" valign="top"><˜php echo TEXT_SELECT_PAYMENT_METHOD; ™></td>

<td class="main" width="50%" valign="top" align="right"><b><?php echo TITLE_PLEASE_SELECT; ?></b><?php echo tep_image(DIR_WS_IMAGES . 'arrow_east_south.gif'); ?></td>

<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

<?php

} else {

?>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td class="main" width="100%" colspan="2"><?php echo TEXT_ENTER_PAYMENT_INFORMATION; ?></td>

<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

<?php

}

 

$radio_buttons = 0;

for ($i=0, $n=sizeof($selection); $i<$n; $i++) {

?>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2">

<?php

if ( ($selection[$i]['id'] == $payment) || ($n == 1) ) {

echo ' <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n";

} else {

echo ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n";

}

?>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td class="main" colspan="3"><b><?php echo $selection[$i]['module']; ?></b></td>

<td class="main" align="right">

<?php

if (sizeof($selection) > 1) {

echo tep_draw_radio_field('payment', $selection[$i]['id']);

} else {

echo tep_draw_hidden_field('payment', $selection[$i]['id']);

}

?>

 

================================================================================

==

Here is the section from paypal_wpp.php that deals with the info displayed for these payments methods:

 

function selection() {

global $order;

 

for ($i=1; $i < 13; $i++) {

$expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B',mktime(0,0,0,$i,1,2000)));

}

 

$today = getdate();

for ($i=$today['year']; $i < $today['year']+10; $i++) {

$expires_year[] = array('id' => strftime('%y',mktime(0,0,0,1,1,$i)), 'text' => strftime('%Y',mktime(0,0,0,1,1,$i)));

}

 

$selection = array('id' => $this->code,

'module' => MODULE_PAYMENT_PAYPAL_DP_TEXT_TITLE,

'fields' => array(array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_FIRSTNAME,

'field' => tep_draw_input_field('paypalwpp_cc_firstname', $order->billing['firstname'])),

array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_LASTNAME,

'field' => tep_draw_input_field('paypalwpp_cc_lastname', $order->billing['lastname'])),

array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_TYPE,

'field' => tep_draw_pull_down_menu('paypalwpp_cc_type', array(array('id' => 'Visa', 'text' => 'Visa'),

array('id' => 'MasterCard', 'text' => 'MasterCard'),

array('id' => 'Discover', 'text' => 'Discover'),

array('id' => 'Amex', 'text' => 'American Express')))),

array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_NUMBER,

'field' => tep_draw_input_field('paypalwpp_cc_number', '')),

array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_EXPIRES,

'field' => tep_draw_pull_down_menu('paypalwpp_cc_expires_month', $expires_month) . ' ' . tep_draw_pull_down_menu('paypalwpp_cc_expires_year', $expires_year)),

array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_CHECKNUMBER,

'field' => tep_draw_input_field('paypalwpp_cc_checkcode', '', 'size="4" maxlength="4"') . ' <small>' . MODULE_PAYMENT_PAYPAL_DP_TEXT_CREDIT_CARD_CHECKNUMBER_LOCATION . '</small>')));

 

if (MODULE_PAYMENT_PAYPAL_DP_BUTTON_PAYMENT_PAGE == 'Yes') {

$selection['fields'][] = array('title' => '<b>' . MODULE_PAYMENT_PAYPAL_DP_TEXT_EC_HEADER . '</b>',

'field' => '<a href="' . tep_href_link('ec_process.php', '', 'SSL') . '"><img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" border=0 style="padding-right:10px;padding-bottom:10px"></a><br><span style="font-size:11px; font-family: Arial, Verdana;">' . MODULE_PAYMENT_PAYPAL_DP_TEXT_BUTTON_TEXT . '</span></td>');

}

 

return $selection;

}

================================================================================

======

 

Best!

 

Theodore

Link to comment
Share on other sites

Dear Dynamoeffects...

 

RE: Paypal in OSC (OSCommerce) -> Error "2006 - MySQL server has gone away"

 

Thanks in advance....

me again... this is my second problem after the integration of the Paypal pro (paypal_wpp_0.8.2) in OSC.

 

When I press the confirmation button I get this message.... that seems like a server timeout problem... but I dunno how to get away with it... I tried the same command directly unde the PHPmyAdmin and the dBase registered teh command .. with no complains... does it have to to with dbase permission in this case or...hmmm ? any suggestion would be a so so helpfull...

====================================

2006 - MySQL server has gone away

 

insert into orders (customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, date_purchased, orders_status, currency, currency_value) values ('34', 'Zilla Personal', 'ZillaComp LTD', '785 Market Street', '', 'San Francisco', '94102', 'California', 'United States', '12321321321', '[email protected]', '2', 'Zilla Personal', 'ZillaComp LTD', '785 Market Street', '', 'San Francisco', '94102', 'CA', 'United States', '2', 'Zilla Personal', 'ZillaComp LTD', '785 Market Street', '', 'San Francisco', '94102', 'CA', 'United States', '2', 'PayPal Direct Payment', 'Visa', 'Zilla Personal', '4111XXXXXXXX1111', '0107', now(), '1', 'USD', '1.00000000')

 

[TEP STOP]

 

2006 - MySQL server has gone away

 

select count(*) as total from sessions where sesskey = 'd808b067d39692f4afc9407738709473'

 

[TEP STOP]

=====================

 

Best,

Theodore

Link to comment
Share on other sites

Hello,

I have recently installed the PayPal Website Payments Pro contribution, and I have setup my PayPal account accordingly. I'm currently trying to set up test payments using my Sandbox accounts on PayPal, but I have run into a problem.

 

First, I have to ask the following two questions.

 

1 - What is a PayPal BN?

 

2 - What is an IPN Notification URL?

 

The installation instructions give absolutely no clue as to what I'm supposed to enter here. Unless I am a total doofus, which is entirely possible. I have searched and searched this entire forum top to bottom, downloaded the forum topic to Word and searched it that way, and I have searched PayPal's site as well. Apparently I am the only person who doesn't understand what these are and what I'm supposed to enter, because I can't find anything on this. If it's out there, I'm not seeing it (I point you back to the doofus remark).

 

When I try to run the test payments, my site goes just honky dorey until the point where I actually have to load the checkout_process.php file. At this point, I get nothing but a blank screen after several minutes of waiting.

 

I'm so totally confused as to what I'm supposed to do. The instructions aren't any help, and I have become frustrated to the point of kicking innocent dogs. Can someone please help me?

 

Thank you in advance.

Brian (Schadeboy) Schade

CIO and Webmaster

Twilight Teez, LLC

 

"Camping is nature's way of promoting the hotel industry."

-Dave Barry

Link to comment
Share on other sites

1 - What is a PayPal BN?

 

Okay, I finally found the answers, at least on a technical level. A PayPal BN is a Build Number. From what I've been able to find, it seems like this is optional.

 

2 - What is an IPN Notification URL?

 

An IPN Notification URL is the address used to validate payment information from PayPal. This is pretty important, it seems. The address points to servers on PayPal's end that coordinates the confirmation of a payment. No big deal.

 

My question, and I am strictly allowing my frustration to speak here, is would it have killed anyone to have included these explanations and the actual server addresses in the instructions? I have spent the better part of two hours trying to figure out what these are. Despite knowing this information now, and configuring my WPP and Express Checkout to include what I believe are the proper test IPN Notification URLs, I am still haveing problems with my checkout_process.php page.

 

Again, I don't mean to be an ass over this. I really mean it when I say it's the frustration talking. I hope no one will take it too personally. I am just tired of dealing with this. It should not be this difficult.

 

Thanks again.

Brian (Schadeboy) Schade

CIO and Webmaster

Twilight Teez, LLC

 

"Camping is nature's way of promoting the hotel industry."

-Dave Barry

Link to comment
Share on other sites

Again, I don't mean to be an ass over this. I really mean it when I say it's the frustration talking. I hope no one will take it too personally. I am just tired of dealing with this. It should not be this difficult.

 

Thanks again.

 

You're venting your frustrations in the wrong place. You're using pbreit's module, which is supported here:

http://www.oscommerce.com/forums/index.php?showtopic=178712

 

I'm not entirely sure it actually works, though.

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

You're venting your frustrations in the wrong place. You're using pbreit's module, which is supported here:

http://www.oscommerce.com/forums/index.php?showtopic=178712

 

I'm not entirely sure it actually works, though.

 

To quote Mater, from Cars; "Holy Shoot!"

 

I didn't realize there was more than one Website Payments Pro contribution. I figured there was just one, since everything I read on PayPal's site kinda sorta indicated as such. I suppose this just goes to show how much of my brain has been turned to porridge.

 

I went back to the very beginning of this topic and took a second look at the link to the contribution and you know what I found? Right! I found the term "Individual Commitment" which as we all know would be an excellent name for a rock band. But what I also found was a contribution that looks like it might actually be the contribution that PayPal itself sanctions, although I could be wrong (it's happened before - me being wrong).

 

Again, I apologize for being such a doofus on this forum. I hope that in the future, I can avoid such fatuous comportment and that I won't bar myself from future assistance. Maybe, once Hell defrosts and geneticists figure out how to put wings on pigs, I will one day understand what I'm doing and even be able to offer assistance to others.

 

I thank you for your kind nudging towards the other contribution for which this support thread is designed. As soon as I get home from work, I will restore the backup I made of my site, and install this contribution, which appears to have a far better success rate for its users.

Brian (Schadeboy) Schade

CIO and Webmaster

Twilight Teez, LLC

 

"Camping is nature's way of promoting the hotel industry."

-Dave Barry

Link to comment
Share on other sites

I've received a report that orders through Express Checkout aren't itemized, but haven't looked into it yet.

 

It isnt just Express. I get them itemized 50% of them time.

Link to comment
Share on other sites

Thank you, dynamoeffects, for your PayPal Module. It has saved me a lot of work!

 

 

A note to anyone using search engine friendly urls: you need to modify your "change payment method" link, or your customers will be unable to cancel Express Checkout.

 

Change this line in checkout_payment.php:

<td align="center" style="font-size:14px; font-family: Arial, Verdana;"><b><? echo TEXT_PAYPALWPP_EC_SWITCH_METHOD_1; ?></b><br><a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, 'ec_cancel=1', 'SSL'); ?>"><? echo TEXT_PAYPALWPP_EC_SWITCH_METHOD_2; ?></a></td>

 

to:

 

<td align="center" style="font-size:14px; font-family: Arial, Verdana;"><b><? echo TEXT_PAYPALWPP_EC_SWITCH_METHOD_1; ?></b><br><a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, 'ec_cancel=1', 'SSL', true, false); ?>"><? echo TEXT_PAYPALWPP_EC_SWITCH_METHOD_2; ?></a></td>

Link to comment
Share on other sites

I'm honestly not aware if anyone has tried it yet. I can't even test it without a PayPal UK account with WPP enabled. The sandbox doesn't work.

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,

 

This module seems like it is going to be a great help to me, I just need to get it set up =)

 

I am having problems with the actual checkout (not sandbox). When I try to do direct checkout with the I get the following error message:

 

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

 

Gateway Decline (10505)

This transaction cannot be processed.

 

Does anyone have any idea why this would be? Express payment seems to work fine.

 

The error dump in the email I get in below:

 

In function: before_process() - Direct Payment

Did first contact attempt return error? Yes

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

-------------------------------DP_DUMP-------------------------------

------------This is the information that was sent to PayPal----------

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

[?xml version="1.0" encoding="utf-8"?]

[soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema]

[soap:Header]

[RequesterCredentials xmlns=urn:ebay:api:PayPalAPI]

[Credentials xmlns=urn:ebay:apis:eBLBaseComponents]

[username]manninglydia_api1.hotmail.com[/username]

[Password]K6SC8CW9HDMD3J2Y[/Password]

[subject][/subject]

[/Credentials]

[/RequesterCredentials]

[/soap:Header]

[soap:Body]

[DoDirectPaymentReq xmlns=urn:ebay:api:PayPalAPI]

[DoDirectPaymentRequest]

[Version xmlns=urn:ebay:apis:eBLBaseComponents]2.0[/Version]

[DoDirectPaymentRequestDetails xmlns=urn:ebay:apis:eBLBaseComponents]

[PaymentAction]Sale[/PaymentAction]

[PaymentDetails]

[OrderTotal currencyID=USD]6[/OrderTotal]

[OrderDescription]Order placed on January 17, 2007, 8:19 pm by Tate Lucas (ID: 4)[/OrderDescription]

[itemTotal currencyID=USD]1[/itemTotal]

[shippingTotal currencyID=USD]5.00[/shippingTotal]

[HandlingTotal currencyID=USD][/HandlingTotal]

[TaxTotal currencyID=USD]0[/TaxTotal]

[Custom]Phone: 513-731-7400 -- Email: [email protected][/Custom]

[invoiceID][/invoiceID]

[NotifyURL][/NotifyURL]

[buttonSource][/buttonSource]

[shipToAddress]

[Name]Tate Lucas[/Name]

[street1]3500 Madison Road[/street1]

[street2][/street2]

[CityName]Cincinnati[/CityName]

[stateOrProvince]OH[/stateOrProvince]

[PostalCode]45209[/PostalCode]

[Country]US[/Country]

[/shipToAddress]

[PaymentDetailsItem][Name]Smooch Boys Shirt[/Name][Amount currencyID=USD]1[/Amount][Number]28 ()[/Number][Quantity]1[/Quantity][/PaymentDetailsItem]

[/PaymentDetails]

[CreditCard]

[CardOwner]

[Payer][email protected][/Payer]

[PayerName]

[FirstName]Tate[/FirstName]

[LastName]Lucas[/LastName]

[/PayerName]

[Address]

[street1]3500 Madison Road[/street1]

[street2][/street2]

[CityName]Cincinnati[/CityName]

[stateOrProvince]OH[/stateOrProvince]

[PostalCode]45209[/PostalCode]

[Country]US[/Country]

[/Address]

[/CardOwner]

[CreditCardType]Visa[/CreditCardType]

[CreditCardNumber]***********[/CreditCardNumber]

[ExpMonth]07[/ExpMonth]

[ExpYear]2009[/ExpYear]

[CVV2]154[/CVV2]

[/CreditCard]

[iPAddress]24.106.249.130[/iPAddress]

[MerchantSessionId]ac0b383d5dd2e53ca77474b564c5be81[/MerchantSessionId]

[/DoDirectPaymentRequestDetails]

[/DoDirectPaymentRequest]

[/DoDirectPaymentReq]

[/soap:Body]

[/soap:Envelope]---------------------------------------------------------------------

-------------------------------FINAL_REQ-----------------------------

-------------------This is the response from PayPal------------------

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

Array

(

[security] =>

[RequesterCredentials] => Array

(

[0] => Array

(

[Credentials] => Array

(

[0] => Array

(

[username] =>

[Password] =>

[subject] =>

)

)

)

)

[DoDirectPaymentResponse] => Array

(

[0] => Array

(

[Timestamp] => 2007-01-18T02:19:35Z

[Ack] => Failure

[CorrelationID] => 82a3f6a1a594a

[Errors] => Array

(

[0] => Array

(

[shortMessage] => Gateway Decline

[LongMessage] => This transaction cannot be processed.

[ErrorCode] => 10505

[severityCode] => Error

[ErrorParameters] => Array

(

[0] => Array

(

[Value] => PPAV

)

)

)

)

[Version] => 2.000000

[build] => 1.0006

[Amount] => 6.00

[AVSCode] => N

[CVV2Code] => M

)

)

)

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

---------------------------------TS_REQ------------------------------

--------Results of the transaction search if it was executed---------

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

Edited by The_Bear
Link to comment
Share on other sites

Tate, stop posting that error dump because you're pasting your credit card information all over the place.

 

The 10505 is happening with another one of my clients at the moment and I haven't been able to track it down yet.

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

Crap. Card is invalid now though.

 

thanks

 

Tate, stop posting that error dump because you're pasting your credit card information all over the place.

 

The 10505 is happening with another one of my clients at the moment and I haven't been able to track it down yet.

Link to comment
Share on other sites

Hello, all. My earlier posts proved to be nothing more than a misunderstanding on my part. I would like to thank, again, Dynamoeffects for politely nudging me in the right direction. I have since installed the "correct" WPP Direct Payments and Express Checkout contribution, and it works for me completely...almost.

 

I'm running into a problem with the Express Checkout. I believe it's the Express Checkout, anyway. The one with the yellow Checkout with PayPal button? Anyway, here's the problem.

 

If I have not logged in, and I add an item to my shopping cart then go to the checkout and click the yellow Checkout with PayPal button, I am presented with an error screen that displays the following information:

 

"bool(false)

Warning: Cannot modify header information - headers already sent by (output started at /home/content/b/s/c/bschade/html/includes/modules/payment/paypal_wpp.php:514) in /home/content/b/s/c/bschade/html/includes/functions/general.php on line 33"

 

I have checked the paypal_wpp.php file in /includes/modules/payments and this is what is shown on line 514"

 

tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, 'PayPal Error Dump', "In function: ec_step1()\r\n\r\n" . var_dump($response), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

I have checked the /includes/functions/general.php file and this is what is shown on line 33:

 

header('Location: ' . $url);

 

Ihave verified that all of my files are correctly placed and copied. I do not understand what the problem is, and the only thing I've been able to find in this thread that remotely resembled my problem had no resolution or explanation of what to do.

 

I'm not afraid to code anything, so if I need to make any changes to the code, I'm good with that.

 

Any help would be greatly appreciated.

Brian (Schadeboy) Schade

CIO and Webmaster

Twilight Teez, LLC

 

"Camping is nature's way of promoting the hotel industry."

-Dave Barry

Link to comment
Share on other sites

I do not understand what the problem is, and the only thing I've been able to find in this thread that remotely resembled my problem had no resolution or explanation of what to do.

 

After doing some more research, and running the diagnostic script that is available, I've been able to determine with a reasonable amount of surety that I still have absolutely no idea what the solution to my problem is.

 

It seems that maybe the cause of this has something to do with my cURL proxy. I use GoDaddy as my hosting provider, and I have entered http://proxy.shr.secureserver.net:3128 as the proxy information in the Proxy Address field of the WPP module. I just got off the phone with GoDaddy, and the tech confirmed that I am using the right address.

 

Results from the diagnostics tool indicates that cURL is installed and the simple HTTP test confirmed that it's working. However, under advanced, when a connection to PayPal through cURL is attempted, I get the following error:

 

Error received: 35: SSL: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca

 

I am all over this message. I mean, it's totally clear what's going on. My only question is, "huh?" I mean, aside from the obvious fact that Alert Unknown would be a great name for a rock band, I am totally lost.

 

Can anyone give me further guidance and instruction as to what I'm supposed to do here?

 

Thanks in advance.

Brian (Schadeboy) Schade

CIO and Webmaster

Twilight Teez, LLC

 

"Camping is nature's way of promoting the hotel industry."

-Dave Barry

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...