News:

Support the VirtueMart project and become a member

Main Menu

Paypal New API

Started by artefactDesign, November 12, 2010, 15:12:34 PM

Previous topic - Next topic

artefactDesign

Hello,

Using the Paypal New Api, i have three problems

1/ at the end of the payment process i am back to my site with:

this message =
Send email to : my email
Subject : Email From my site
re-sent Order Receipt email

this email =

Dear name,
Thanks for your order 7 at my site
Kind regards

Where can I change those email and message ?

2/ I receive all email buyer and seller twice... why ?

3/ using sh404sef, the cancel button on paypal does not work until i change in ps_paypal_api.php :
if( strpos( $lastpage, 'page=shop.cart') !== false ) {
$cancelURL =urlencode($url.'/index.php?page=shop.cart&option=com_virtuemart&ppex_cancel=1');
   } else {
$cancelURL =urlencode($url.'/index.php?page=checkout.index&option=com_virtuemart&checkout_stage='.($checkout_this_step-1).'&ship_to_info_id='.$ship_to_info_id.'&shipping_rate_id='.$shipping_rate_id.'&ppex_cancel=1');
   }


to

if( strpos( $lastpage, 'page=shop.cart') !== true ) {
$cancelURL =urlencode($url.'/index.php?page=shop.cart&option=com_virtuemart&ppex_cancel=1');
   } else {
$cancelURL =urlencode($url.'/index.php?page=checkout.index&option=com_virtuemart&checkout_stage='.($checkout_this_step-1).'&ship_to_info_id='.$ship_to_info_id.'&shipping_rate_id='.$shipping_rate_id.'&ppex_cancel=1');
   }


Any help appreciated

Regards

Natastna2

I'm getting consistent tax total is invalid using the new Paypal API and 0 percent sales tax. Is there any way I can tell Paypal to just set tax as 0 rather than taking it from the incorrect Virtuemart value. Transactions for figures like 16.27 will not go though at all.