Jump to content

Revise Paypal Module for Both Regular and Micropayments


Recommended Posts

I would like to modify the paypal module in 1.4 to allow two paypal email accounts. One for normal payment processing and another for micropayment processing. When the order total is above $12 I would like to use the normal account, and the micro account for under $12. To make this as simple as possible the two account emails can be entered in the php file(s). I use standard paypal processing, not API.

It seems all that may be needed is a simple if statement in the proper place(s) in the php files, like,

$em1 = '[email protected]
$em2 = '[email protected]

$paypalEmail = $em1
if ($OrderTotal < $12)
$paypalEmail = $em2;

It looks like the rredirect.php is where this needs to be placed, is this true or does it need to be somewhere else or more than one place.

Thanks, this will help me a lot since I have several item below $12

Tim

Link to comment
Share on other sites

×
×
  • Create New...