drupal paypal order email sending twice - drupal

I am using ubercart paypal module as payment gateway in drupal.. when the user pays the money the order confirmation is sent twice. this should not happen..
please help me..
thanks in advance

This is caused by the Paypal IPN sending out multiple requests which in turn causes the Conditional Actions module to invoke the email action twice.
Comment #25 in this post presents a possible solution. You should also check these links out:
http://www.ubercart.org/forum/support/10422/multiple_emails_single_purchase
http://www.ubercart.org/forum/support/8790/stock_level_reduced_twice
http://www.ubercart.org/forum/support/8930/stock_reduced_twice
http://www.ubercart.org/forum/support/14097/duplicate_notifications_file_download_sales_upgrading_uc_20
http://www.ubercart.org/forum/bug_reports/13313/paypal_duplicate_actions_taken
http://www.ubercart.org/forum/bug_reports/13716/stock_levels_decrease_twice_latest_update_6x20
http://www.ubercart.org/forum/support/13794/file_download_user_notified_twice
http://www.ubercart.org/forum/support/5192/stock_decreased_2_times_once_customer_buys_once_customer_pays_paypal
They all talk about the same problem in one way or another.

Related

woocommerce paypal after payment redirected many times

when I make a payment with paypal on my site for a downloadable pdf book, the payment works well but I do not receive the email with the download link.
and after payment a google page is displayed with an error message redirection too many.
But when I look at the logs the email is sent but I don't receive it. However if I pay by credit card everything works. Do you have an idea? Thanks
Problem solved, I just updated the theme

If I turn on IPN can I still redirect my button users to my custom response pages?

I am currently using email2db to read the emails PayPal sends regarding new subscriptions, payments, cancellations, etc.
Now that I have 6 different fork, including 1 from intl.paypal.com and one from paypal.co.uk it has become difficult to manage my db with email2db.
This is a production system. I want to know if the existing system will remain intact if I turn on IPN for testing and development. I need it continue to redirect the subscriber to my currently chosen thankyou page as included in my button code.
Is it safe for me to activate IPN?
Thank you,
Gordon L
IPN is an entirely separate process from anything else you do. It's simply a notice you can have PayPal send when you get a payment or the status of one changes (i.e. chargeback etc). So it's safe to use with any payment process.

wp e-commerce emails not working

I have seen many questions regarding emails not being sent but so far they haven't been helpful to me. I've been trying to test purchases on my site. After checkout, the order appears in the sales log as "order received". From what I understand when I change it from "order received" to "accepted payment", an email should be sent. Thing is, an email is never sent to the administrator or the customer. I have the store admin email filled out. The digital product is supposed to be sent in the email but the email is not being sent. Any help would be much appreciated.
Thanks
The issue I check first dealing with WP emails is to see if the emails wordpress is sending out are being caught in spam, or just being blocked by your email provider, since the WP_Mail() function isn't verified by an email server.
Try WP-SMTP and do some testing.
I just had this issue and, for me, the solution was going into cPanel and changing my MX records. They were set up years ago to point to a different server and I found out that I could send but not receive emails. I deleted them and created a new mail.domain.com MX record. That was my issue, may or may not be yours.

How do I fetch the Transaction ID from PayPal website to my web site?

I am using Paypal sandbox testing module in my Shopping cart site. I have test account in paypal sandbox. i am sending amount to paypal. After payment success when retun back to my web page I want to get transaction id and amount.Kindly help me.
You probably want to use Paypal IPN. You can get the Paypal transaction id, amount, and a slew of other information, using Paypal IPN. Basically, this is where Paypal will do an https post back to your site after a transaction, and send all of the info for the transaction. See https://developer.paypal.com/webapps/developer/docs/classic/ipn/integration-guide/IPNIntro/ for info.
You need to specify redirect url.You can have two urls one for success and other for failure.Thats how i implemented it in one of my project (Dont have it now with me for reference).
Take a look here or here.This link has an sample project.It may help.

Asp.net, paypal and IPN.. how to automate payment?

i'm trying to integrate Paypal in an asp.net app.
It works fine, the last thing i would like to do is to automize payment notify.
In particular, how does it works IPN ? I would like to set a field to 1 when a user buy a service... How can i do with ipn ?
I'm asking here to avoid to read all 120 pages of paypal IPN documentation... ;)
Thanks in advance...
Theres lots of examples out there on how to build a basic IPN listener. Once you build one and point your PayPal account at it, all transactions will have their details sent to this listener as a request. You will need to parse out the relevant data from this request to determine the success of the transaction and process the order.
Similar SO Question
PayPal Code Sample
Other good sample C#

Resources