Jump to content

[Resolved with module edit?] Paypal Pro payments pending?


Llamatronics
 Share

Recommended Posts

When a Paypal payment comes in using PayPal Pro (CC Processing) - I get the email from Paypal that I have received a payment - but the order is stuck at "pending" until I manually change it to "processing"...

I'm on CC version 6.1.7

Paypal Pro & Express version 1.1.9.

Transaction log looks like everything was successful - order just didn't switch to processing - or trigger the confirmation email...

 

Transaction ID Status Amount Gateway Date/Time Notes
XXXXX584AF406592Y Success $44.74 PayPal Card Payment Today, 17:03 CVV2 correctly matched.

 

Any help would be appreciated!  It's not a big deal - just annoying to have to manually change the status of every order...

If you need the site URL its www.LlamaTronics.com

Thanks!

Link to comment
Share on other sites

UPDATE - Well, I went through everything from that post - updated my Sanitize class file, cleared all cache except images - then did a test order - still stuck at pending...

Anyone have any other advise?

I haven't updated to 6.1.8 yet because of multiple non-stock edits I didn't want to have to redo...

Link to comment
Share on other sites

PayPal Pro module uses CubeCart's Request functions, which will log what was sent to PayPal and what was returned, if anything.

In admin, Request Log, find the entry for the order you just made a test with, 'x'-out any personal info, and copy the entry here.

We may be able to confirm or deny the problem exists at this stage.

Link to comment
Share on other sites

Here is the log:

 

Today, 11:10
Request Sent - https://api-3t.paypal.com/nvpPAYMENTACTION=Sale&IPADDRESS=XX.XXX.XXX.XXX&RETURNFMFDETAILS=1&INVNUM=170716-130938-4264&AMT=2.08&ITEMAMT=2.08&CREDITCARDTYPE=Visa&ACCT=4***********9922&CVV2=XXX&EXPDATE=082021&EMAIL=andy%40llamatronics.com&FIRSTNAME=D&LASTNAME=Gelsinger&STREET=XXX+XXXXXX+Rd&STREET2=&CITY=Janesville&STATE=WI&ZIP=XXXXX&COUNTRYCODE=US&CURRENCYCODE=USD&SHIPTOPHONENUM=XXXXXXXXXX&SHIPTONAME=Andy+Gelsinger&SHIPTOSTREET=XXX+XXXXXXXX+XX&SHIPTOSTREET2=&SHIPTOCITY=Janesville&SHIPTOZIP=XXXXX&SHIPTOSTATE=WI&SHIPTOCOUNTRY=US&BUTTONSOURCE=CubeCart_Cart_DP_US_v6&METHOD=DoDirectPayment&VERSION=112&PWD=XXXXXXXXXXXXXXXXXXXXX&USER=XXXXXXXXXXXXXXXX.com&SIGNATURE=XXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXX
Response receivedTIMESTAMP=2017%2d07%2d16T18%3a10%3a09Z&CORRELATIONID=97bd3fcf8c87d&ACK=Success&VERSION=112&BUILD=33063964&AMT=2%2e08&CURRENCYCODE=USD&AVSCODE=Y&CVV2MATCH=M&TRANSACTIONID=XXXXXXXXXXXXXXXX
 

 

I wasn't sure what all should be X'd out - let me know if I did too much!

Also - this seems to match that shows up in the transaction log on the order as well - Status: Success.

 

Thanks for looking into this!

Link to comment
Share on other sites

So we will assume that the response was dealt with, as you say there is a log item for this order - the transaction ID matches and the amount matches.

The next step in the code is to set the order to Processing.

Let's add some diagnostic code.

I'll be back with specific edits for CC617.

Link to comment
Share on other sites

In the PayPal_Pro folder, open for editing the file gateway.class.php and find:

Near line 606:

if($this->_api_method=='Sale' || ($this->_api_method=='Authorization' && $this->_module['authProcess']=='1')) {

Change to:

if($this->_module['paymentAction']=='Sale' || ($this->_module['paymentAction']=='Authorization' && $this->_module['authProcess']=='1')) {

I think this version of the PayPal Pro module (v1.1.9) is using the wrong variable here.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...