Yii - Mailchimp - duplicate emails - yii

I am facing an issue which is a bit complicated.
Our website is integrated to CCAvenue payment gateway and we are also using mailchimp to send emails.
On successful transaction the user will be redirected back to our website and an email is sent to user and a CC is sent to our admin. From there the user is redirected to another page where the payment receipt is displayed.
The issue I am facing is, some times the user and admin is getting the copy of the same email many times. it can be 2 or 3 or even up to 10 duplicates/copies.
The duplicates comes with user details missing and the transaction amount messed up.
I am not able to reproduce it from my end till now. But many users are facing this issue.
What can be the reason for this?
thank you

Related

Can not login in messagebird with my account

A few days ago I wanted to try the messagebird service to send SMS.
I created an account, they gave me a credit of 10 units and I did tests to send sms, everything went well.
But when I recharged my account with 15$, after a few minutes my account is no longer accessible, when I try to log in dashboard.messagebird.com/en/login I am automatically redirected to the dashboard.messagebird.com/en/sign-up page. it's as if the account was never created when I sent the money.
More than 24 hours ago I tried to create a new account and put the money the thing same happened.
this looks like a problem you better contact MessageBird support.
You can email them at support#messagebird.com too.

How to get Delphi to read a logged-in webpage from the default browser - not twebbrowser

I am trying to read data from a webpage that requires a login. I could use twebbrowser and have the user login through that, however, the point is to not allow my app to handle any security credentials, even through twebbrowser. My hope is that the user would login on their default browser, and then my app would load the page as a logged-in user without any credentials going through my app. I swear there was a time, many moons ago, when I was able to do this. However I can't seem to get it to happen now. Is this possible? Or any other suggestions for connecting to a logged-in website without the credentials going through my app? Thanks in advance.
Additional info:
What I am trying to do is write an app that reads purchase history from a rapid-fire sale website (new item every few minutes) and keeps a running total in real time while also warning the user if something comes up for sale that they've already purchased (because the web site repeats things that didn't sell out). I prefer to keep my app as only a data aggregator, ie read-only, completely separated from logging in, purchasing, etc. I don't want people worrying about entering their password or credit card in my app.

PayPal Sandbox transactions are not showing for seller

I've used my live PayPal account to login to developer.paypal.com where I created 2 new accounts buyer# (personal) and seller# (business). I've implemented a PayPal plugin for a shop (CubeCart + PayPal Standard Payment Gateway plugin https://www.cubecart.com/extensions/payment-gateways/paypal-standard). When I complete an order (sandbox testing) I sign using buyer# email and password and complete the order. I can then click to view account and it shows "payment to", "unclaimed" and the amount I've paid. When I logout of this account and login as my buyer#, I see no transactions. If I log back into developer.paypal.com and go to transactions under "Sandbox" section and select any of the email addresses I see the same statement for all of them "You don't have any transactions".
If I login to sandbox.paypal.com using james-facilitator# account (business) there are no transactions here either.
If I login to sanbox.paypal.com using james-buyer# account (personal) there is only the one initial transaction here for the initial 9,999 funds
I've obviously missed something but I can't think what, I'm not sure how a sandbox account knows who it's seller should be but I've checked both sandbox seller accounts. I find it strange that the buyer account I used has registered the transaction but it seems like it's orphaned as there isn't any other record of it any where else including the developer.paypal.com sandbox transaction. I've tried this several times to see if I could get it working and I've also allowed for 24 hours just in case there was a delay somewhere.
I just want to be able to test transactions before going live.
Any help/advice?
Much appreciated :)
Cheers
James
Solved - silly really now I know but it was simply the email address I used to test the API. I used my main live account and I should have used the fake email address in my API call. Since my live controls the test accounts I assumed that this should have been used.

Error when trying to log into ESPN Masher API

I'm a long time user of Mashery, but when I try to sign into the ESPN API I get the following message:
Login Failed
You must click on the link in your user confirmation email before you can login.
This seems easily solvable - however, I've never received a confirmation email.
Any help from the ESPN API staff would be greatly appreciated.
//MD
I took a look at this, but it's difficult to see which user account is yours without more information. I do see one account in a "waiting" status, so I'll presume that is yours. I do see another account using a gmail address that has the same first and last name as the one that is waiting to be confirmed. The email address of the account waiting for confirmation is a .co account.
I don't see an option to resend the confirmation email, perhaps requesting a password reset on the login screen will help. I'll see what else I can do, but try the reset first.

Paypal ipn processing and dropdown option/price buttons logic

I read lots of post from various sites including paypal documentations. But I have some quesitons wihch I couldnt solve those. One of them is that how to design the codes after receiving the ipn message. Ofcourse I make my code I am able to optain and process the variables of message. like payment status and I am able to save them into database. But the point is that how should I desing the code to control the payment to overcome my requirements. I know the post become long but I feel the need of this explanation. So I have a site which works with membership with payment. Site is check after login the membership trial is expired or not if it is expired it shows a div in fornt of the site wihch includes the paypal buttons and redirect to paypal payment screen when button is clicked. User shodul have ability to choos membership period like 6 or 12 mounths (by dropdown paypal button). When the user finalize his payment ipn is trrigerd and I get the datas but all my members dont have to have a paypal account so they can use therid credit card directli and if I understand correctly the transfer of money can take some time to be recevied by me. Which time interval I should set the members approved flag is true ? I am confused about this. If I approve him after ipn is sent is there a possibility an error can occure while transferring me. How the process works.
other problem is the dropdown button. when I set option/price button when I click the button an error page is shown after redirecting to my selling page. It does not redirect to the payment page.
Realy sorry for my long post but I dont know how can I descirebethe situtation in a short way
If you need to wait until funds are available, you should test the value of "payment_status" in the verified IPN message for "Completed".
An eCheck can take from 3-5 days for collection (sometimes longer; you can see the estimated hold time in your account) and has payment_status="Pending". Once collected, you will get another IPN message with "Completed".
Note that the user never sees the IPN process. Normally you set up the conditions (in a table or something that is persistent enough), then send the user to PayPal. When the user comes back from PayPal, your code (at the "return_url") checks the table to see if Payment had completed successfully (perhaps a flag, which was set by your IPN handler code that is called by/communicated with PayPal when the user leaves PayPal gracefully).