Answers.Body: <p>I encountered this bug myself last week and fixed it; I forgot about this post until @herb posted a comment on it.</p>
  
  <p>The fix will be in CiviCRM 5.25+, but the bug is logged as <a href="https://lab.civicrm.org/dev/financial/issues/119" rel="nofollow noreferrer">https://lab.civicrm.org/dev/financial/issues/119</a>, and <a href="https://github.com/civicrm/civicrm-core/pull/16692/files" rel="nofollow noreferrer">the fix</a> is incredibly simple to apply.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-11T13:58:33.340Z
Answers.Text: Great news Jon! I was going to start debugging which is a pain for payment processors.
Answers.UserDisplayName: herb
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-11T13:54:57.357Z
Answers.LastActivityDate: 2020-03-11T13:54:57.357Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>Removing the button is against the PayPal TOU...but I have an extension that does it anyway.  Install <a href="https://github.com/MegaphoneJon/coop.palantetech.module.hidepaypalexpresscheckout" rel="nofollow noreferrer">Hide PayPal Express Checkout</a> and call it a day.</p>
  
  <p>Actually...I wrote this a LONG time ago for a client that doesn't use event pages.  It should work on contribution pages but might need some tweaking for event pages.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-11T03:11:51.307Z
Answers.Text: I reported the issue https://lab.civicrm.org/dev/core/issues/1641. Someone needs to debug why and come up with a fix.
Answers.UserDisplayName: herb
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-11T13:52:11.697Z
Answers.Text: @herb By complete chance I encountered and fixed this bug last week!  I updated your ticket.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-10T19:32:03.080Z
Answers.Text: Is there another solution besides removing the button? I'd prefer not to violate TOU if possible.
Answers.UserDisplayName: jgeurts
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-10T13:32:21.687Z
Answers.LastActivityDate: 2019-04-10T13:32:21.687Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>We use PayPal Pro for our event pages. This is what is currently happening:
  Person fills in the event registration profile.
  Person clicks PayPal checkout button, enters their PayPal information.
  When the person clicks Continue, they are returned to our registration form. All of the profile information they had entered is gone. If they reenter all the info and click continue, they get an error message saying they didn't fill in the credit card information.</p>
  
  <p>If people enter their credit card information on our registration form (instead of using the PayPal check out button), everything works.</p>
  
  <p>How do we fix the PayPal button? Or can we remove it?</p>
  
  <p>We are using CiviCRM 5.12.0 with WordPress and PayPal Pro.</p>
  
Tags: <wordpress><civievent><paypal>
Title: PayPal Pro Button not working - returns to blank event form
ThreadText: # PayPal Pro Button not working - returns to blank event form
  
  (Asked by: username_0 on 2019-04-09)
  
  We use PayPal Pro for our event pages. This is what is currently happening:
  Person fills in the event registration profile.
  Person clicks PayPal checkout button, enters their PayPal information.
  When the person clicks Continue, they are returned to our registration form. All of the profile information they had entered is gone. If they reenter all the info and click continue, they get an error message saying they didn't fill in the credit card information.
  
  If people enter their credit card information on our registration form (instead of using the PayPal check out button), everything works.
  
  How do we fix the PayPal button? Or can we remove it?
  
  We are using CiviCRM 5.12.0 with WordPress and PayPal Pro.
  
  **Tags:** wordpress, civievent, paypal
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2020-03-11. Score: 2
  
  I encountered this bug myself last week and fixed it; I forgot about this post until @username_2 posted a comment on it.
  
  The fix will be in CiviCRM 5.25+, but the bug is logged as <https://lab.civicrm.org/dev/financial/issues/119>, and [the fix](https://github.com/civicrm/civicrm-core/pull/16692/files) is incredibly simple to apply.
  
  > **Comments:**
  > **username_2**: Great news Jon! I was going to start debugging which is a pain for payment processors.  
  
  ---
  
  ### Answer by username_1 on 2019-04-10. Score: 1
  
  Removing the button is against the PayPal TOU...but I have an extension that does it anyway. Install [Hide PayPal Express Checkout](https://github.com/MegaphoneJon/coop.palantetech.module.hidepaypalexpresscheckout) and call it a day.
  
  Actually...I wrote this a LONG time ago for a client that doesn't use event pages. It should work on contribution pages but might need some tweaking for event pages.
  
  > **Comments:**
  > **username_0**: Is there another solution besides removing the button? I'd prefer not to violate TOU if possible.  
  > **username_2**: I reported the issue https://lab.civicrm.org/dev/core/issues/1641. Someone needs to debug why and come up with a fix.  
  > **username_1**: @username_2 By complete chance I encountered and fixed this bug last week!  I updated your ticket.  
  
  ---
  
  