bsmither Posted April 17, 2014 Share Posted April 17, 2014 Disclaimer: I despise Paypal, so I really don't care. I have a question about the Gateway->call() function. When the IPN comes in, all the stuff in POST is used to make a $request, and the answer to that $request is tested to be either 'INVALID' or 'VERIFIED'. Assuming 'VERIFIED', the code then looks at $_POST['payment_status']. If $_POST['payment_status'] is 'Pending', the code calls $order->paymentStatus(Order::PAYMENT_PENDING, $cart_order_id), then calls $order->orderStatus(Order::ORDER_PROCESS, $cart_order_id). The question is: Assuming PayPal's 'payment_status' as "Pending" means exactly that, why is CubeCart setting the status of the order to Processing? Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted April 17, 2014 Share Posted April 17, 2014 It doesn't look right does it. Oddly there have been no reports of it not working correctly. We are actually in the process of doing two pieces of work for PayPal to bring the API to the latest version and make optimizations around logos, and features such as showing line items on the paypal pages. I have added a note to this work to check this. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 17, 2014 Share Posted April 17, 2014 I'm looking forward to seeing the line items on the PP page. This is very comforting to the customer. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted April 17, 2014 Share Posted April 17, 2014 Yeah. Express Checkout is also going into a modal window instead of transferring the customer away and back again. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 10, 2014 Share Posted June 10, 2014 Yeah. Express Checkout is also going into a modal window instead of transferring the customer away and back again. What exactly does modal window mean. I just tried Express and it looked to me like it took me to PP, rather than staying on our site. Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 10, 2014 Author Share Posted June 10, 2014 A "modal" window is basically any kind of pop-up window. For example, when viewing a product and the mouse hovers over the main image, you get a magifier view of the image. Then, when you click on that image, you get a javascript-based "colorbox" pop-over showing an even larger image (can contain a slideshow of a series of images). So, by "modal" with respect to another site, it may be the case where CubeCart will open a pop-up and PayPal will use that to show the payment screen. Thus, when finished, the pop-up goes away and you are back at the store (which you never actually left). I don't know if this offers any more or less security than that of a new browser window or an in-line frame. But it should solve some situations where customers do not bother to come back to the store - if that was ever necessary. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 10, 2014 Share Posted June 10, 2014 Hmmm . must be a FF setting I have in place, because I did not get the box, but a new tab. Thanks for the explanation. I'll play some. Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 10, 2014 Author Share Posted June 10, 2014 I did not read into that comment that this is now implemented. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.