Answers.Body: <p>Similar functionality was added as a part of <a href="https://issues.civicrm.org/jira/browse/CRM-19263" rel="nofollow noreferrer">https://issues.civicrm.org/jira/browse/CRM-19263</a> which should be included in version >= 4.7.12.</p>
  
  <p>What it includes -</p>
  
  <ul>
  <li>You need to add a <code>Default Invoice Payment Page</code> on <code>CiviContribute Component Settings</code>.</li>
  </ul>
  
  <p><a href="https://i.sstatic.net/Rjp8Q.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Rjp8Q.png" alt="enter image description here"></a></p>
  
  <ul>
  <li>Now any pay later contribution created by a user would contain a <code>Pay Now</code> link on <code>User dashboard</code> page <code>/civicrm/user?reset=1</code>.</li>
  </ul>
  
  <p><a href="https://i.sstatic.net/2U6QB.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/2U6QB.png" alt="enter image description here"></a></p>
  
  <ul>
  <li>Hitting this button would take you to live contribution page where one can complete the pending contribution using CC details.</li>
  </ul>
  
  <p>More details on the jira issue link.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-18T04:57:43.900Z
Answers.Text: looks like the JIRA ticket went through with 'no documentation required' which might be why it is proving hard to google about
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-18T05:03:51.817Z
Answers.Text: https://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=346750980 was the flowchart required for the pay now functionality
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-18T23:13:39.987Z
Answers.Text: **Warnings**: This approach currently has the following downsides: (1) enabling deferred revenue has other effects which are not yet documented, like creating bookkeeping entries automatically for member and event revenue; (2) when a payment is made with this "Pay now" link the **contribution will be linked to the "default invoice" page instead of its originally linked contribution page**; (3) the contribution may move to a different contact record based on the fields filled out at payment time.
Answers.UserDisplayName: Sean
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-19T18:52:13.163Z
Answers.Text: As a result of this discussion we're going to make changes: 1) remove illogical dependence on Deferred Revenue Enabled, 2) leave original contribution page id link when paid later on a different page configured through 'Default Invoice Page' setting, 3) append source info and page id from payment page to end of source info from original pcontribution page.
Answers.UserDisplayName: Joe Murray
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-27T12:27:44.283Z
Answers.Text: See similar question at https://civicrm.stackexchange.com/questions/20237/how-to-pay-later-an-event-by-credit-card. This ability should be available to authenticated users.
Answers.UserDisplayName: Jacques-Marie Moranne
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-08T13:37:02.663Z
Answers.Text: Can't find any documentation on this stuff. What's the purpose of the "default invoice payment page" field?
Answers.UserDisplayName: Graham
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-18T04:02:31.507Z
Answers.LastActivityDate: 2017-09-18T04:02:31.507Z
Answers.UserDisplayName: jitendra - fuzion
Answers.Body: <p>The payment page has the following URL : .../civicrm/contribute/transact?reset=1&amp;id=12&amp;ccid=251 (where id is the Contribution-Page-Id and ccid is the Contribution-id) (you must force the id).</p>
  
  <p>Being given the contact-id and the contribution-page-id, you can deliver this URL via a small php program (eg : before_url_pay.php?c=[current-user:civicrm-contact:id]&amp;p=15) which fetches the contribution-id (SELECT id FROM civicrm_contribution WHERE contribution_page_id='.$page.' AND contact_id='.$contact.' AND contribution_status_id!=1), then generates and opens the URL (with ccid = the selected id).</p>
  
  <p>If you use webforms, you can get the contact_id, and then parameterize the Webform Setting Redirection Location as /sites/default/your_php_directory/before_url_pay.php?c=[current-user:civicrm-contact:id]&amp;p=15 (contrib page id)</p>
  
  <p>Doing that, the user won't even need to pass via the dashboard.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-22T14:39:39.083Z
Answers.LastActivityDate: 2018-11-22T14:39:39.083Z
Answers.UserDisplayName: Jacques-Marie Moranne
Body: <p>I'm using CiviCRM's "pay later" functionality on a contribution page and have received a number of contributions that now have a "pending" status. This is good. When I receive a paper check, I can just update that contribution.</p>
  
  <p>However, some donors wish to fulfill their pay-later pledge <em>online</em> instead of by check. <strong>Is there a way for the donor to pay online such that the "pending" contribution will be automatically removed or updated?</strong></p>
  
  <p><em>Note: I am using a thermometer to display the total amount raised and it includes pay-later contributions, which is important to me. I'd like to avoid having duplicate contributions in the thermometer.</em></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-17T22:03:01.010Z
Comments.Text: Something exists for Events I think? https://github.com/backoffice/BOT-Partial-Payment-Extension found at https://civicrm.stackexchange.com/questions/345/is-there-a-way-to-allow-partial-payments-for-events
Comments.UserDisplayName: petednz - fuzion
Tags: <contribution-page><paylater>
Title: Pay later online?
ThreadText: # Pay later online?
  
  (Asked by: username_0 on 2017-09-17)
  
  I'm using CiviCRM's "pay later" functionality on a contribution page and have received a number of contributions that now have a "pending" status. This is good. When I receive a paper check, I can just update that contribution.
  
  However, some donors wish to fulfill their pay-later pledge *online* instead of by check. **Is there a way for the donor to pay online such that the "pending" contribution will be automatically removed or updated?**
  
  *Note: I am using a thermometer to display the total amount raised and it includes pay-later contributions, which is important to me. I'd like to avoid having duplicate contributions in the thermometer.*
  
  **Tags:** contribution-page, paylater
  
  > **Comments:**
  > **username_1**: Something exists for Events I think? https://github.com/backoffice/BOT-Partial-Payment-Extension found at https://civicrm.stackexchange.com/questions/345/is-there-a-way-to-allow-partial-payments-for-events  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-09-18. Score: 4
  
  Similar functionality was added as a part of <https://issues.civicrm.org/jira/browse/CRM-19263> which should be included in version >= 4.7.12.
  
  What it includes -
  
  * You need to add a `Default Invoice Payment Page` on `CiviContribute Component Settings`.
  
  [![enter image description here](https://i.sstatic.net/Rjp8Q.png)](https://i.sstatic.net/Rjp8Q.png)
  
  * Now any pay later contribution created by a user would contain a `Pay Now` link on `User dashboard` page `/civicrm/user?reset=1`.
  
  [![enter image description here](https://i.sstatic.net/2U6QB.png)](https://i.sstatic.net/2U6QB.png)
  
  * Hitting this button would take you to live contribution page where one can complete the pending contribution using CC details.
  
  More details on the jira issue link.
  
  > **Comments:**
  > **username_1**: looks like the JIRA ticket went through with 'no documentation required' which might be why it is proving hard to google about  
  > **username_1**: https://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=346750980 was the flowchart required for the pay now functionality  
  > **username_0**: **Warnings**: This approach currently has the following downsides: (1) enabling deferred revenue has other effects which are not yet documented, like creating bookkeeping entries automatically for member and event revenue; (2) when a payment is made with this "Pay now" link the **contribution will be linked to the "default invoice" page instead of its originally linked contribution page**; (3) the contribution may move to a different contact record based on the fields filled out at payment time.  
  > **username_3**: As a result of this discussion we're going to make changes: 1) remove illogical dependence on Deferred Revenue Enabled, 2) leave original contribution page id link when paid later on a different page configured through 'Default Invoice Page' setting, 3) append source info and page id from payment page to end of source info from original pcontribution page.  
  > **username_4**: See similar question at https://civicrm.stackexchange.com/questions/20237/how-to-pay-later-an-event-by-credit-card. This ability should be available to authenticated users.  
  > **username_5**: Can't find any documentation on this stuff. What's the purpose of the "default invoice payment page" field?  
  
  ---
  
  ### Answer by username_4 on 2018-11-22. Score: 1
  
  The payment page has the following URL : .../civicrm/contribute/transact?reset=1&id=12&ccid=251 (where id is the Contribution-Page-Id and ccid is the Contribution-id) (you must force the id).
  
  Being given the contact-id and the contribution-page-id, you can deliver this URL via a small php program (eg : before\_url\_pay.php?c=[current-user:civicrm-contact:id]&p=15) which fetches the contribution-id (SELECT id FROM civicrm\_contribution WHERE contribution\_page\_id='.$page.' AND contact\_id='.$contact.' AND contribution\_status\_id!=1), then generates and opens the URL (with ccid = the selected id).
  
  If you use webforms, you can get the contact\_id, and then parameterize the Webform Setting Redirection Location as /sites/default/your\_php\_directory/before\_url\_pay.php?c=[current-user:civicrm-contact:id]&p=15 (contrib page id)
  
  Doing that, the user won't even need to pass via the dashboard.
  
  
  ---
  
  