Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for dev/core#1608: correct date format for trxn_date. #17355

Merged

Conversation

twomice
Copy link
Contributor

@twomice twomice commented May 18, 2020

Overview

Aims to fix Recurring contribution fails with "ipn_payment_callback_exception", for membership auto-renewal via PayPalPro by correcting date format for the $input['trxn_date'] parameter.

Before

Automatic membership renewal payments, when received as IPN messages for PayPal Pro, fail with exception message "Oops, it looks like there is no valid membership status corresponding to the membership start and end dates for this membership. Contact the site administrator for assistance."

After

IPN notifications are processed successfully.

Technical Details

Please see long explanation in the first comment of the referenced issue.

Comments

Currently WIP, looking to see test results.

@civibot
Copy link

civibot bot commented May 18, 2020

(Standard links)

@civibot civibot bot added the master label May 18, 2020
@eileenmcnaughton
Copy link
Contributor

@twomice - the change makes sense - is it still WIP?

@twomice
Copy link
Contributor Author

twomice commented May 19, 2020

@eileenmcnaughton this fix works for me, and is only WIP because I'm looking for passing tests before calling it a "real" PR. Don't know why it says "Some checks haven’t completed yet", as it looks like all tests are passing. I'll test again.

@twomice
Copy link
Contributor Author

twomice commented May 19, 2020

Jenkins test this please.

@twomice twomice changed the title WIP: Toward fix for dev/core#1608: correct date format for trxn_date. Toward fix for dev/core#1608: correct date format for trxn_date. May 19, 2020
@twomice twomice changed the title Toward fix for dev/core#1608: correct date format for trxn_date. Fix for dev/core#1608: correct date format for trxn_date. May 19, 2020
@twomice
Copy link
Contributor Author

twomice commented May 19, 2020

@eileenmcnaughton All tests are passing. I've removed the "WIP" prefix. Are you able to merge or is more needed from me?

@seamuslee001
Copy link
Contributor

This looks like a sensible change to me, Tests have passed so going to merge

@seamuslee001 seamuslee001 merged commit aee0fdd into civicrm:master May 19, 2020
@twomice
Copy link
Contributor Author

twomice commented May 20, 2020

Thanks @seamuslee001 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants