Alright... after some digging and reading here is the solution:
Look in the file > modules > payment > paypal_ipn.php
approx. half way down the page you'll find a series of parameters:
| Code: |
'currency_code' => $currency,
'lc' => 'EN', //AU, DE, FR, IT, GB, ES, US
'return' => osc_href_link(FILENAME_CHECKOUT, 'process', 'SSL', null, null, true),
'rm' => '2',
'no_note' => '1',
'cancel_return' => osc_href_link(FILENAME_CHECKOUT, 'payment', 'SSL', null, null, true),
'paymentaction' => 'authorization');
|
at the very bottom of the parameters is the code for the payment action as below:
| Code: |
'paymentaction' => 'authorization');
|
The "authorization" needs to be changed to "sale" as shown below:
| Code: |
'paymentaction' => 'sale');
|
I tested this and it works beautifully, automatically charging the amount of purchase instead of only authorizing.
Hope this helps someone.
Jeff