Hello,

I am testing out the new Paypal Pro ability of EC4 (looks very solid BTW).

I have a sandbox setup, and all options configured for it in both Paypal Pro and Paypal Express receipt types.

When paying via Paypal Pro -> enter CC information on order/review -> click place order -> am redirect to cart/view with a message of "Your shopping cart is empty. You may start shopping." No payment shows up on Paypal side and unpaid order shows up in eCommerce.

When paying via Paypal Express -> click place order -> order/review page refreshes with a messages stating "Issue starting PayPal Express"

It would seem like a connection isn't being made between my site and Paypal. If anyone has any ideas or steps I could take to get this thing working I would greatly appreciate it.

I am working on a test site that does not currently have SSL so I am not sending this order from a HTTPS page. Might this be the issue? I could see it effecting Paypal Pro -- but I don't think it would affect Paypal Express.

Comments

gordon’s picture

Status: Active » Postponed (maintainer needs more info)

For a start, PayPal Pro has not yet been completed. It doesn't work.

For PayPal Express it has been completed. The error message that you are getting should additional messages about what is wrong.

I have updated the paypal express so that in the situation it will add a print_r of the response from paypal to the watch dog. Can you please attach that to this issue.

jacerider’s picture

Okay, here is what I got --

Message PayPal PDT notication received for . Unknown receiver email.

Array
(
)

Severity warning

Not much to go on there...

gordon’s picture

This is an issue with your configuration, and not the paypal module

jacerider’s picture

Version: 5.x-4.x-dev » 5.x-4.1-alpha10

Okay, I've played around a bit more and here is what I have:

Even after the updated to EC Alpha 10, Paypal Pro still operates as stated in my first post. Paypal Express still gives the same error message. I get the error message even if I put in blank API Username/API Password etc. in the receipt config.

So that means I am not even communicating with Paypal.

So my question is: Is there anything out of the ordinary or external that I need to have setup or turned on in order for this to work? I realize Paypal Pro wasn't really able to run on EC3 -- but the parent site of the one I am working on now (This is a multi-site setup and by parent I am referring to the default Drupal site) is still on EC3 and is using a very heavily modified Paypal Pro module to allow for sucessful transactions and has been working fine for months now.

I say that to say I am able to communicate with Paypal on that site. Can you think of anything that could be wrong on my current setup on the same server, same Drupal install -- that could be causing these problems?

Thanks in advance!

::EDIT:: Also just wanted to add that I am not getting any error messages in my watchdog about the problem anymore.

jacerider’s picture

Further messing around:

Instead of having watchdog print out $payment_data I had it print out array($params) and here is what I got:

Array
(
    [0] => Array
        (
            [TOKEN] => 
            [PAYERID] => 
            [PAYMENTACTION] => Sale
            [AMT] => 34
        )

)

I then changed it to print out array($payment_data) with a response of:

Array
(
    [0] => 
)

I may not be understanding what is going on here -- but it seems to me some variables are not being set. I will investigate further.

gordon’s picture

It looks like you have not entered you seller id and tokens into the parameters page.

jacerider’s picture

Gordon,

I gave it some time to see if my issue may have been caused by some bug in the alpha releases -- but I am sad to report that I am still having issues. I am now used the latest nightly build and am still experiencing the problem I have stated above.

You mentioned that I may have not entered my seller id and tokens into the parameters page.

I have filled in every field on Receipt Types -> List -> Paypal Express -> Settings. The only field on this page that is not filled in is: Custom payment style.

Am I missed a parameters page somewhere else that I need to fill out in order for this to work? Any details you could give on where the Token and PayerID fields are pulling their information from would be greatly appreciated. Thank you for your help.