Add propertyBag handling for getEmail when incoming uses email-5
authoreileen <emcnaughton@wikimedia.org>
Sat, 9 May 2020 00:11:15 +0000 (12:11 +1200)
committereileen <emcnaughton@wikimedia.org>
Sat, 9 May 2020 00:11:30 +0000 (12:11 +1200)
commit381735e26ee2a8dc0e309d0d3d381191d7896b86
tree8957beb10a6c4b06784f4e4acf1d666bb2ee48c2
parent8ff069d9a4c3781ec6496894477057d3d11e992d
Add propertyBag handling for getEmail when incoming uses email-5

Calling code is often setting email-5. The property bag should iron out this inconsistency, and getEmail (and similar)
should handle the appended billing id. We can't do this in the static property map as it is a calculated variable
Civi/Payment/PropertyBag.php
tests/phpunit/Civi/Payment/PropertyBagTest.php