Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal download problem - no charges showing


Guest

Recommended Posts

Posted

I am building a store that sells music downloads. I have installed Download Controller and got through some of the bugs there.

 

The Credit Card payment option works fine, but when you click through to the PayPal page (on PayPal, not on my store), it always says the total order is $0.00.

 

I set up a PayPal account. Do I need to do something more than set the PayPal module to 'True' in the modules configuration. Or is there something else going wrong?

 

Thanks

Posted
I am building a store that sells music downloads. I have installed Download Controller and got through some of the bugs there.

 

The Credit Card payment option works fine, but when you click through to the PayPal page (on PayPal, not on my store), it always says the total order is $0.00.

 

I set up a PayPal account. Do I need to do something more than set the PayPal module to 'True' in the modules configuration. Or is there something else going wrong?

 

Thanks

 

 

First is check the currency at your store and the one that is at your paypal setup.

If this is fine.Then as there are many contrib on paypal you need to specify which contribution of paypal you are using.

 

Satish Mantri

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
First is check the currency at your store and the one that is at your paypal setup.

If this is fine.Then as there are many contrib on paypal you need to specify which contribution of paypal you are using.

 

Satish Mantri

 

If you have the choice for customers of multiple currencies and paypal (in store) is set to ? Sterling, would the same problem occur? I.e. is there a way to set paypal when processing payments on site to accept currency choices?

Posted
If you have the choice for customers of multiple currencies and paypal (in store) is set to ? Sterling, would the same problem occur? I.e. is there a way to set paypal when processing payments on site to accept currency choices?

 

 

 

The currency is Canadian dollars and PayPal is the same.

 

Satish, you mention 'there are many different contrib'. Sorry to ask what may seem an elementary question, but do I need to install a PayPal contrib from installing oscommerce or is there a PayPal module pre-installed?

Posted
The currency is Canadian dollars and PayPal is the same.

 

Satish, you mention 'there are many different contrib'. Sorry to ask what may seem an elementary question, but do I need to install a PayPal contrib from installing oscommerce or is there a PayPal module pre-installed?

Well yes one contribution of Paypal comes with osc 2.2 MS.

 

The other are

1)Paypal IPn contrib by OSC team ( Highly Recommended )

2)Paypal IPN by devosc.

3)WPP contrib for a VT account of Paypal

 

So in all there are four main contributins for Paypal.

 

 

Satish Mantri

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
Well yes one contribution of Paypal comes with osc 2.2 MS.

 

The other are

1)Paypal IPn contrib by OSC team ( Highly Recommended )

2)Paypal IPN by devosc.

3)WPP contrib for a VT account of Paypal

 

So in all there are four main contributins for Paypal.

Satish Mantri

 

 

Progress is being made on some fronts, but niggling problems on another.

 

Installed PayPal IPN contribution.

 

Workss very well EXCEPT, when I try to test it and go the the customers order page to follow the testing directions as set out by PayPal, I get this message:

 

Parse error: parse error, unexpected T_INCLUDE_ONCE in /hsphere/local/home/jeffbutl/ultimateindie.ca/catalog/admin/orders.php on line 505

 

This is what the code around it looks like:

 

<?php

$heading = array();

$contents = array();

switch ($action) {

case 'delete':

$heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_ORDER . '</b>');

 

$contents = array('form' => tep_draw_form('orders', FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=deleteconfirm'));

$contents[] = array('text' => TEXT_INFO_DELETE_INTRO . '<br><br><b>' . $cInfo->customers_firstname . ' ' . $cInfo->customers_lastname . '</b>');

$contents[] = array('text' => '<br>' . tep_draw_checkbox_field('restock') . ' ' . TEXT_INFO_RESTOCK_PRODUCT_QUANTITY);

$contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_delete.gif', IMAGE_DELETE) . ' <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');

break;

default:

if (isset($oInfo) && is_object($oInfo)) {

$heading[] = array('text' => '<b>[' . $oInfo->orders_id . ']  ' . tep_datetime_short($oInfo->date_purchased) . '</b>');

 

$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');

$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a>');

$contents[] = array('text' => '<br>' . TEXT_DATE_ORDER_CREATED . ' ' . tep_date_short($oInfo->date_purchased));

if (tep_not_null($oInfo->last_modified)) $contents[] = array('text' => TEXT_DATE_ORDER_LAST_MODIFIED . ' ' . tep_date_short($oInfo->last_modified));

$contents[] = array('text' => '<br>' . TEXT_INFO_PAYMENT_METHOD . ' ' . $oInfo->payment_method);

 

//begin PayPal_Shopping_Cart_IPN

????if (strtolower($oInfo->payment_method) == 'paypal') }

include_once (DIR_FS_CATALOG_MODULES . 'payment/paypal/functions/general.func.php');

????????$contents[] = array('text' => TABLE_HEADING_PAYMENT_STATUS . ': ' . paypal_payment_status($oInfo->orders_id) );

????}

//end PayPal_shopping_Cart_IPN

}

break;

}

 

 

Any ideas? I'm not really a PHP expert, I've just been learning it through doing oscommerce and some blogging shareware, and seem to be able to fix most of the parse errors, but this one has got me.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...