Body: <p>I'm starting testing the Paypal payment cicle.
  After setting <strong>both</strong> paypal forms with the following data:</p>
  
  <ul>
  <li><p>User [Name my paypal UN]</p></li>
  <li><p>Password  [my paypal PW]</p></li>
  <li><p>Signature [my paypal SG]</p></li>
  <li><p>Site URL <a href="https://www.paypal.com/" rel="nofollow">https://www.paypal.com/</a>   </p></li>
  <li>API URL  <a href="https://api-3t.paypal.com/" rel="nofollow">https://api-3t.paypal.com/</a>    </li>
  <li>Recurring Payments URL [empty]</li>
  <li>Button URL <a href="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" rel="nofollow">https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif</a></li>
  </ul>
  
  <p>Then I created a New Contribution Page, setting "Paypal" as processor and unchecked the "Use a confirmation page" flag.</p>
  
  <p>So, when i test the payment on the Contribution Page, </p>
  
  <ul>
  <li>I'm redirected in the Paypal page and I proceed entering my Credit Card data</li>
  <li>I'm unexpectedly ("Use a confirmation page" flag was unchecked!) returned on a new Civicrm Page. From here i press the [Make a contribution] button</li>
  <li>the following URL "<a href="http://opigi.net/modimp/civicrm/index.php?q=civicrm/contribute/transact" rel="nofollow">http://opigi.net/modimp/civicrm/index.php?q=civicrm/contribute/transact</a>" is called with the content "<em>The page you are looking for is temporarily unavailable. Please try again later.</em>" </li>
  </ul>
  
  <p>I called the Paypal call-center, they told me that the firs part of the operation is correctly terminate, but the page civicrm page where the <strong>DoExpressCheckoutPayment</strong> is not reached.</p>
  
  <p>Any help will be appreciated. Thanks</p>
  
  <p>15:21: After some other test, done comparing my test site with a production site, I discovered how in the sites\all\modules\civicrm\CRM\Core\Payment\PayPalImpl.php:</p>
  
  <ul>
  <li>in my local test, where the flow ends correctly, the API <strong>GetExpressCheckoutDetails</strong> is called two times and finally also the API <strong>DoExpressCheckoutPayment</strong></li>
  <li>in my production site after the first <strong>GetExpressCheckoutDetails</strong> call, I get the error "<em>The page you are looking for is temporarily unavailable ...</em>"</li>
  </ul>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-12T15:07:09.187Z
Comments.Text: Hi Marcello - can you confirm what version of civi you are using and whether you also have the pay later option enabled and/or if you have more than one payment processor enabled on the page?
Comments.UserDisplayName: Tamar Meir - Cividesk
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-13T13:49:09.430Z
Comments.Text: Hi Meir. 
  I have 4.7 Drupal Civi installed, no other processor on and the pay later option is off. 
  Thanks
Comments.UserDisplayName: marcello
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-13T16:05:21.880Z
Comments.Text: Hi, the name is actually Tamar :-), but from your response, it looks like I am at a loss to help you any further - my apologies.
Comments.UserDisplayName: Tamar Meir - Cividesk
Tags: <payment-processor><paypal>
Title: Paypal Payment - Express Checkout page not reachable
ThreadText: # Paypal Payment - Express Checkout page not reachable
  
  (Asked by: username_0 on 2016-10-12)
  
  I'm starting testing the Paypal payment cicle.
  After setting **both** paypal forms with the following data:
  
  * User [Name my paypal UN]
  * Password [my paypal PW]
  * Signature [my paypal SG]
  * Site URL <https://www.paypal.com/>
  * API URL <https://api-3t.paypal.com/>
  * Recurring Payments URL [empty]
  * Button URL <https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif>
  
  Then I created a New Contribution Page, setting "Paypal" as processor and unchecked the "Use a confirmation page" flag.
  
  So, when i test the payment on the Contribution Page,
  
  * I'm redirected in the Paypal page and I proceed entering my Credit Card data
  * I'm unexpectedly ("Use a confirmation page" flag was unchecked!) returned on a new Civicrm Page. From here i press the [Make a contribution] button
  * the following URL "<http://opigi.net/modimp/civicrm/index.php?q=civicrm/contribute/transact>" is called with the content "*The page you are looking for is temporarily unavailable. Please try again later.*"
  
  I called the Paypal call-center, they told me that the firs part of the operation is correctly terminate, but the page civicrm page where the **DoExpressCheckoutPayment** is not reached.
  
  Any help will be appreciated. Thanks
  
  15:21: After some other test, done comparing my test site with a production site, I discovered how in the sites\all\modules\civicrm\CRM\Core\Payment\PayPalImpl.php:
  
  * in my local test, where the flow ends correctly, the API **GetExpressCheckoutDetails** is called two times and finally also the API **DoExpressCheckoutPayment**
  * in my production site after the first **GetExpressCheckoutDetails** call, I get the error "*The page you are looking for is temporarily unavailable ...*"
  
  **Tags:** payment-processor, paypal
  
  > **Comments:**
  > **username_1**: Hi Marcello - can you confirm what version of civi you are using and whether you also have the pay later option enabled and/or if you have more than one payment processor enabled on the page?  
  > **username_0**: Hi Meir.  I have 4.7 Drupal Civi installed, no other processor on and the pay later option is off.  Thanks  
  > **username_1**: Hi, the name is actually Tamar :-), but from your response, it looks like I am at a loss to help you any further - my apologies.  
  
  ---
  
  ## 0 answers
  
  