You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
My client just reported that orders coming back from PayPal paypalpp are marked as completed.
They should be "Pending Shipping".
I see this in ecom_gateway incdisp
$url_good = $url_relay . '?payment_status=Completed&item_number=' . $order['order']['id'];
Is this the culprit?
If so, what should payment_status be? Pending%20Shipping? or what?
If not, where is that set so that we can change it?
Thanks!
Last edited by Blitzen (02-07-2017 12:32:51)
Offline
Where is V8 payment set so that we can look at it?
Offline
I'm not sure I understand what you're looking for. You can edit the PayPal Standard gateway using Store / Commerce / Processing Gateways. The actual response codes handled are all listed there.
Offline
When the data comes back from paypal, where is the order status set?
Offline
Okay - I'm confused. Is function exec called only by the return gateway program or other actions?
Is the status set when function exec is called after the data are returned from the payment provider? Where would that be set before entering function exec?
Same question about $item['shipstatus']?
Offline
(1) Yes, the functions in {private}/apps/ecom/ECOM_Order/ext are only processed once the gateway approves the order.
(2) It is only called during order processing after a valid gateway response.
(3) Both order status and item shipstatus are set using the referenced script, and they are set nowhere else, unless you modify the order in the management interface yourself.
Offline
Thank you. That helps
Offline