I have been having fits trying to get this thing to work (version 3 dev from march 20th)

I can get it to do a payment, but TONS of small things are not working for me and I can't figure it out. I have everything setup properly as shown in the docs.

The success return and cancel redirects don't work.

confirmation email token items does not work simply leaves [items] in the text.

The paypal (used against the sandbox)module is using GET instead of POST and leaves nasty address query strings in the browser for the user to see.

Nothing is being pre populated in the PayPal billing fields, not ever the email address.

When I click the return to Merchant button after a successful payment it does not go back to the success redirect as defined in the settings and leaves this nasty get query string in the address bar.

The account Provisioning feature does not work, when I purchase anonymously no user account gets created as the docs mention it should.

The release notes (http://drupal.org/node/126480) mention features that don't seem to be in version 3, maybe they were in the older versions for 4.7?

"Added notify_url to interface. No longer required to setup PayPal account for IPN. This allows single PayPal account to be used for multiple purposes."

This is no where to be found in the config options for PayPal.

This simple script http://www.micahcarrick.com/v2/content/view/1/26/ actually works, while pretty much nothing works in the e-commerce paypal functionality.

My only choices now are to integrate the script mentioned above.

Does anyone out there use the latest e-commerce successfully with paypal?

I also posted on groups.drupal.org and posted some screenshots of the issues.

I have set this up 3 times all in fresh installs of Drupal and the same thing happens each time. I have like 10 hours into this and it's just starting
to really tick me off.

Thanks in advance,

Tony

Comments

seanm’s picture

I just plugged in the info for paypal (with email address for payment) and it seems to be functioning.

tcaduto’s picture

What parts are functioning?

I can get a payment working and the ipn is returned and the transaction workflow moved to completed, but all the little stuff I mentioned is not working for me.

Do you get the nasty query string returned when you complete a payment and return back to the merchant site?

Does the account provisioning feature work when a anonymous user makes a purchase?

Does the email address pre populate with the email address when anonymous payment is used? Does the first and last name prepopulate when using a logged on drupal user?

Is there something special that needs to be done to the paypal sandbox to get this working?

Later,

Tony Caduto
http://www.amsoftwaredesign.com
Home Of Lightning Admin for MySQL and Postgresql

tcaduto’s picture

Well, I figured out why the Successful payment URL is not working.

Here is a cut and paste from the payment completed page on PayPal:

form method="get" id="merchantReturn" name="merchant_return" action="http://www.milwaukeesoft.com/?q=node/2"
input type="hidden" id="" name="mc_gross" value="19.99"
Notice how the return URL is set as the action of a form? Well that means it has to go to a script that can handle the values sent back, and a standard node is not going to be able to handle this and hence that is way the nasty URL shows when the user clicks th button.

I tried adding some php code to the node to read the form vars, but that also did not work.

The only way this would work is to be able to direct the url to a regular php script that would act as a cgi and then redirect to the correct node to display your thank you or whatever.

There is no doubt about it, there is severe issues with the E-Commerce module and PayPal.

Tony Caduto
http://www.amsoftwaredesign.com
Home Of Lightning Admin for MySQL and Postgresql

Rowanw’s picture

To fix the missing items issue in the email invoice you have to edit the ec_mail template and change [items] to [txn-items], this will show all the items correctly in the invoice email.

Administer > E-Commerce Configuration > Mail > Default customer invoice > Edit

tcaduto’s picture

Ah, thanks for the tip, now if I can just figure out how to get past all the other issues like the return and cancel URLs not working in paypal and the account provisioning :-(

Later,

Tony Caduto
http://www.amsoftwaredesign.com
Home Of Lightning Admin for MySQL and Postgresql

Macc’s picture

I miss too this feature, it would be really good to get it working. I have fixed billing address required fields (only name war required), but it would be good to know how to fill automatically shipping address when they are left blank.

kinsang’s picture

Does any know how to collect the payment result when it is returned back from paypal after pay ?
Any example ? Please !
Does the e-commerce have built in php page to handle this ? Or we need to write our own php page ?
Thanks.

Chill35’s picture

Very good questions here.

My transaction are for ever 'pending' when they go through Paypal, although I get a notification from Paypal that money has been received. For files purchases. Most likely a configuration problem. On the e-commerce doc page, it just says configure this and that on page x, but it doesn't explain how.

Caroline
Who am I | Where are we
11 heavens