So now those of us just using PayPal Express Checkout can get the buttons to show up in the Order Admin. However...
There's still a problem.
Using the capture function works. The funds are captured in Paypal and the transaction details show in the comments area. (Except there is no Recepit ID in the response message and a blank Auth Code in the comments).
However the Transaction ID is NOT updated. In the PayPal logs the original transaction id for the authorization becomes the "Parent ID" (parent_txn_id) and a new number is assigned to the "Transaction ID" (txn_id) which is associated with the capture transaction (transfer of funds).
But in the details on the order page, no Parent ID is shown and the old Transaction ID is still there. When I check the database I see that the Capture function did not write to the parent_txn_id nor update the txn_id which should have the new id #.
The log from Paypal shows that PayPal sent over the new data.
Relevant data from POST:
txn_type = parent
parent_txn_id = 9AG04XXXXXX4120E
txn_id = 26R27XXXX898700A
Without this update, Refunds do not work. They give a 10009 error "You can not refund this type of transaction" because Zen Cart is sending the Authorization's Transaction ID (i.e. 9AG04...) instead of the Capture's Transaction ID (i.e. 26R27...)
When I manually update the Transaction ID in the database I can process the refund without a problem. So I don't believe this is a problem with the refund function. (In fact, the refund function DOES update the transaction id AND parent id in the database).
If anyone using 1.3.8a has capture and refunds working with PayPal Express (ONLY), can you tell me if processing a capture updates the Transaction ID and the Parent ID on your order admin page?
Are you getting a receipt id? Auth code?
One workaround would be to enter the ID as part of the refund function just like with Voids. Now if I could just figure out how to make that happen...
Any help, suggestions, insights would be much appreciated!
KMF