[#2374] Errors in paypal logs for CBSubs transactions

10 years 5 months ago - 10 years 4 months ago #153724 by RCheesley
Hi all,

I've had a client get in touch who is getting feedback from their members that the paypal system is a bit 'flakey' in CBSubs and 'doesn't always work'. When I check out the logs, I can see what they mean!

There are several entries which fail with the following message

PDT notification not authenticating at payment gateway

The user is told that their transaction was unsuccessful then a matter of seconds later there is a 'web_complete' entry. Clearly my client was confused as they are getting confirmation from paypal that it's been successful but the client seems to be getting a failure notice. This isn't happening every time, but regularly enough to warrant further investigation.

I also noticed witha paypal subscription the following:
IPN Amount/item mismatch / Fraud attempt business email mismatch

This one seems to have gone through - is this just a warning?

Ruth

Ruth Cheesley
Joomla Specialist
Virya Technologies Ltd.

Please Log in to join the conversation.

10 years 5 months ago #153749 by krileon

This one seems to have gone through - is this just a warning?

Is there a charge being applied to the purchase on PayPals end that would cause PayPal to send CBSubs a price that CBSubs did not send PayPal? It will still attempt to go through, but you should avoid configuring the PayPal account to append additional charges such as tax (use CBSubs Tax to apply such fees).

This could also mean the PayPal payment gateway is not configured correctly and the emails setup do not match. Please review the below configuration example and reconfigure the gateway.

PayPal Business (email or secure merchant ID): Use merchant ID given to you after saving the web payment preferences in your PayPal account
PayPal Main receiver account (email) (if Business is different from your main account): Use the email address that is set as Primary within your PayPal account (usually the address you login with)
Your PayPal Identity Token: The token provided after saving web payment preferences


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

10 years 5 months ago #153762 by RCheesley
Hmm, well it could have been relating to the fact that CBSubs never used to add VAT, however I'm now looking at the settings in Paypal under VAT and there are no rates set up.

I did check all the settings above and noticed that the paypal identity token was actually displaying the 'Paypal business' field (the merchant ID), the email address was in the 'Paypal business' field, and the main receiver box was empty. This site has been in operation for over a year now - could these have been altered by upgrading as I'm sure nobody has even looked at the plans since it was set up, so it seems odd that things are in the wrong places given the system has been working fine :/

Ruth

Ruth Cheesley
Joomla Specialist
Virya Technologies Ltd.

Please Log in to join the conversation.

10 years 5 months ago #153786 by krileon
As far as I am aware parameter names were not changed. Doesn't seam likely for parameters to simply jump on their own and would suspect were edited. I can't say for sure, but correcting the parameters should resolve the issue; please confirm if possible.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

10 years 5 months ago #155347 by RCheesley
Hiya,

I've figured out one part as well, the account holder had switched their primary email so I've set that in the settings for CBSubs now too, hopefully that'll cut out errors about the email addresses. Also IPN Notification was off in Pyapal (and afaik always has been) so I turned that on and put the site's URL in the field as advised on another post.

The other thing is that it's putting the wrong amounts into Paypal - I suspect this was due to the pre-VAT system and some kind of setting somewhere. The total being sent to Paypal appears to be correct but when Paypal prints the invoice, the amounts are incorrect.

Plan cost: £42
VAT: 20% (£8.40)
Total cost: £50.40

Invoice states:

Plan cost: £33.60 (£42.00 - £8.40)
VAT: £16.80 (£8.40 * 2)
Total cost: £50.40

What the .....

No wonder it states IPN Amount/item mismatch / Fraud attempt !!

Ruth Cheesley
Joomla Specialist
Virya Technologies Ltd.

Please Log in to join the conversation.

10 years 4 months ago #155469 by krileon

Plan cost: £42
VAT: 20% (£8.40)
Total cost: £50.40

This is the amount Paypal is showing?

Plan cost: £33.60 (£42.00 - £8.40)
VAT: £16.80 (£8.40 * 2)
Total cost: £50.40

This is the amount CBSubs is showing?

Please clarify what the above are indications of. Please review the tax settings within CB. Please also check that the Paypal account for the site is not configured to charge any additional taxes.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.406 seconds

Facebook Twitter LinkedIn