Thank you Divavocals.
The problem happens after I installed Super Order.
I like super order very much, and therefore I am shutting down Paypal Payment Pro until I can find some way to fix it. :cry:
Printable View
Thank you Divavocals.
The problem happens after I installed Super Order.
I like super order very much, and therefore I am shutting down Paypal Payment Pro until I can find some way to fix it. :cry:
Here is what is at line 80 of the ot_group_pricing file
/**
* when calculating the ratio add some insignificant values to stop divide by zero errors
*/
The ratio is calculated at line 79. Are you using Group_pricing at all?
Your other error in super_orders at line 557 has to do with Purchase Order payments, so I don't know what this would have to do with PayPal.
How much does it cost to have a PayPal account where you can accept payments anyway?
Thank you, JTHeed. I turned off the Group_pricing after I found the problem.
Paypal Payment Pro price is on their website. :blush:
The purchase order function has never been activated.
I've finally been able to get round to having a look at the above link kindly provided by topcat. The code devised by carlvt88 looks pretty straightforward except that I can't work out were in order.php I put
Can anybody help please.Code:if (zen_not_null($this->info['cc_type']) || zen_not_null($this->info['cc_owner']) || zen_not_null($this->info['cc_number']) || $this->info['payment_module_code'] == 'paypalwpp') {
Depending on the version, around line 634 and your only adding what is in red, so just look for the part NOT in red.
In my release that I have (48a) it is just after this
$insert_id = $db->Insert_ID();
// BEGIN Super Orders edit
// add CC data as a line item to SO payment system
if (zen_not_null($this->info['cc_type']) || zen_not_null($this->info['cc_owner']) || zen_not_null($this->info['cc_number'])) {
Keep in mind, that post is almost 2 years old too!
Many thanks for that JTheed. My copy of order.php (from the original Super Order 2 if I remember correctly) does not have that
section in it. As far as I can see, that first made it's appearance in DivaVocals version.Code:// BEGIN Super Orders edit
// add CC data as a line item to SO payment system
if (zen_not_null($this->info['cc_type']) || zen_not_null($this->info['cc_owner']) || zen_not_null($this->info['cc_number'])) {
require(DIR_WS_CLASSES . 'super_order.php');
$so = new super_order($insert_id);
$so->cc_line_item();
}
// END Super Orders edit
Could anyone confirm that for me?
You could take a look at the change log for version Rev48 to see. I documented very carefully ALL the changes I made.. I'm fairly certain that this code was not introduced Rev48. Looking at the comments, it looks like it was introduced in a previous version, and I don't know which one..
This part is significant.. The code you are attempting to add is over two years old, and there were SO release between the time this code was posted and now, so it's very possible, it won't "fit" exactly the current makeup of Super Orders..