cancelling preApproval payment and continue with credit card does not work.
Overview
This issue related to preApproval payment. its present on Contribution and Event registartion form.
E.g Paypal Express.
Reproduction steps
- Set up Paypal Pro account (live and test mode).
- The configure Processor on Contribution page.
- Visit online page (live or test mode).
- Select amount and click on Paypal Button
- It redirct you to login page, there is link to cancel the process,link look like this
http://drupal7.test/civicrm/contribute/transact?_qf_Main_display=1&qfKey=CRMContributeControllerContribution67xqxb55jcow0k0gcs8sc8c4cs0c4sc00s4gcwg0skg84ws840_7945&cancel=1&token=EC-1V540554M6477413R
. Click on it. It redirect you to main page. - Now this time do the transaction using credit card.
- Once you reach to CiviCRM confirm page and click to pay amount. You will get the error like this
Payment Processor Error message :Express Checkout PayerID is missing.
In Case of event registration, we were not passing qfkye to cancel url. when we cancel the payment on paypal express login page.. we are getting Could not find valid value for id
Error.
After correcting the cancel url we need to apply same changes to reset preApproval
data to continue payment with other method without resetting the page.