pretty lame of paypal - you want to give lower rates on small transactions, do it! don't make people jump through hoops to have a second account.
ok, rant over.
- i have never used paypal live on a ZC site.
- the code does not look like rocket science.
- unless you are getting special rates from paypal, your threshold should be set at $12. for a $12 transaction, the fee is the same.
first off did you create the following file:
/includes/extra_configures/paypal_micropayments_credentials.php
Code:
<?php
/**
* Micropayments Credentials
*/
define('MODULE_PAYMENT_PAYPALWPP_MICROPAY_APIUSERNAME', 'insert your API-Username from your Micropayments account here');
define('MODULE_PAYMENT_PAYPALWPP_MICROPAY_APIPASSWORD', 'insert your micropayments API password here');
define('MODULE_PAYMENT_PAYPALWPP_MICROPAY_APISIGNATURE', 'insert your micropayments API signature here');
define('MODULE_PAYMENT_PAYPALWPP_MICROPAY_THRESHOLD', '12');
assuming you created that file, it looks like the incorporated changes are all in the latest version of v155, which can be found here:
https://raw.githubusercontent.com/ze...aypal_curl.php
are you sure you have the same file as the one i just referenced? if that is the case and it is still not working, we can add a few lines to see what is the problem. the switch only happens on line 518.
just prior to that, we can add some echo statements to see why it is not switching.
Code:
echo MODULE_PAYMENT_PAYPALWPP_MICROPAY_APIUSERNAME. '<------->';
echo MODULE_PAYMENT_PAYPALWPP_MICROPAY_APIPASSWORD. '<------->';
echo MODULE_PAYMENT_PAYPALWPP_MICROPAY_APISIGNATURE. '<------->';
echo MODULE_PAYMENT_PAYPALWPP_MICROPAY_THRESHOLD. '<------->';
print_r($pairs);
die(__FILE__ . ':' . __LINE__);
try placing an order and lets see what comes back on the screen, and post the results here. if a normal paypal transaction comes through and it is not stopped on the screen, then you have a configuration issue.
best.
Bookmarks