Re: Super Orders v4.0 Support Thread (for ZC v1.5.x)
I don't use this (so shut up then)...but no doubt different users want different aspects.
Progress would be more likely if the required aspects (that are missing in core ZC) were highlighted and could be worked on in smaller chunks.
For example I did a plugin to batch update orders yonks ago: https://github.com/torvista/Zen_Cart-Batch_Order_Update (probably needs some tlc now , which it won't get unless requested).
Maybe the functionality you want is in another dusty plugin that is easier to fix-up than the beast that is Super Orders.
Re: Super Orders v4.0 Support Thread (for ZC v1.5.x)
1. Can I ask who this is to?
2. What it is in reply to?
Re: Super Orders v4.0 Support Thread (for ZC v1.5.x)
Just a general comment, it seems a big job to get SO working with all its bells and whistles when maybe better to pension it off but work on it's functionality piecemeal.
Hence my interest in seeing what is the functionality that people want.
2 Attachment(s)
Double payment records inside SO_PAYMENT when I use SQUARE_WEBPAY
Hello,
Does someone already had this issue? I paid with Square webpay, the transaction passed without any issue, Square had charge the amount only once, but I find two payments records associated to my order, same amount, timestamp. (See the attachmen SO_PAYMENT) first record seem to be the right one, the second is the intruder. (Please ignore the "delete" status)
If I check inside Database tables, I found :
1x record inside square_payment
2 x record inside so_payment for the same order
If I do a payment through Paypal, I only found one payment, where is perfectly normal.
I already validate the issue with CarlWhat who give a great support on WebPay module, he suggest to me to ask my question to Super Order forum.
I'm using ZC 1.57d + Super Orders v5.0.0 + square-WebPay on PHP 7.33
Does someone have any clue ? sorry for the poor quality of the pictures.
Thanks
Attachment 20503
Re: Double payment records inside SO_PAYMENT when I use SQUARE_WEBPAY
have you tried uninstalling super order and try a test order?
Re: Double payment records inside SO_PAYMENT when I use SQUARE_WEBPAY
No, I haven't tried it, since Square is only configured in production and not on my test site and I don't want to break the whole "setup" in PROD, I prefer to ask if anyone already had a similar case.
Re: Double payment records inside SO_PAYMENT when I use SQUARE_WEBPAY
I made a new test, I reinstalled new ZC 1.57d package + Square webpay without Super Order, I hadn't any double payments.
After, I add Super Order package and I made a new transaction with Webpay, got two payments again inside SO_PAYMENT .
Does someone had success installing these two packages together (Super-Orders-v5.0.Zen-Cart-1.5 + Square WebPa 1.0.3 ) on ZC 1.57d with PHP 7.3 ?
Re: Double payment records inside SO_PAYMENT when I use SQUARE_WEBPAY
Finally find where the duplicated records come from: /include/classe/order.php (Line 732)
Need to comment $so->cc_line_item(); because $so = new super_order($insert_id); already create a first record inside the table so_payment.
// 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