Commit d30ea71c authored by Rich's avatar Rich
Browse files

Merge branch 'move-to-gitlab' into 'main'

Replace references to GitHub with GitLab

See merge request extensions/gocardless!120
parents 4529cbf0 70c12949
......@@ -69,7 +69,7 @@ class CRM_Core_Payment_GoCardlessIPN {
// We need to check the input against the test and live payment processors.
$raw_payload = file_get_contents('php://input');
if (!function_exists('getallheaders')) {
// https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/23
// https://lab.civicrm.org/extensions/gocardless/-/issues/23
// Some server configs do not provide getallheaders().
// We only care about the Webhook-Signature header so try to extract that from $_SERVER.
$headers = [];
......@@ -328,7 +328,7 @@ class CRM_Core_Payment_GoCardlessIPN {
* We don't update from other statuses (namely Cancelled, or Completed or
* Failed). A payment may come in on a Cancelled mandate, if your timing is
* unluckly, it does not mean the mandate is In Progress. See
* https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/54
* https://lab.civicrm.org/extensions/gocardless/-/issues/54
*
*
* @param array $recur
......
......@@ -12,11 +12,11 @@ Other things to note
- Daily recurring is not supported by GoCardless, so you should not enable this option when configuring your forms. If you do users will get an error message: "Error Sorry, we are unable to set up your Direct Debit. Please call us."
- Taking one offs is [not supported/implemented yet](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/12).
- Taking one offs is [not supported/implemented yet](https://lab.civicrm.org/extensions/gocardless/-/issues/12).
- Membership organisations should be aware that there isn't currently a way to change subscriptions in bulk - this may cause an issue if you need to increase/decrease your membership fee at any point in future - [see issue #87](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/87).
- Membership organisations should be aware that there isn't currently a way to change subscriptions in bulk - this may cause an issue if you need to increase/decrease your membership fee at any point in future - [see issue #87](https://lab.civicrm.org/extensions/gocardless/-/issues/87).
- Generally worth scanning the titles of the [Issue Queue](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/)
- Generally worth scanning the titles of the [Issue Queue](https://lab.civicrm.org/extensions/gocardless/-/issues/)
- Developers can drive it from a non-CiviCRM form, e.g. if you have a highly custom donate form that does not use CiviCRM's payment pages.
......
# Developers: Importing from GoCardless
If you clone from the github repo, you'll see a cli directory. This contains a
If you clone from the GitLab repo, you'll see a cli directory. This contains a
script I used as a one-off to import some pre-existing GoCardless subscriptions.
It's not a fully fledged tool, but it may help others with one-off import tasks
to build a tool for their own needs from that.
......
......@@ -10,7 +10,7 @@ directories.
## Installing from release archive
The [releases
page](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/releases)
page](https://lab.civicrm.org/extensions/gocardless/-/releases)
lists all the releases; you normally want the latest one.
**Be sure to download the .tgz or .zip file with the full name of the
......@@ -25,8 +25,8 @@ from the \*nix command line. You need
[composer](https://getcomposer.org/download/).
$ cd /path/to/your/extensions/dir
$ git clone https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless.git
$ cd uk.artfulrobot.civicrm.gocardless
$ git clone https://lab.civicrm.org/extensions/gocardless.git
$ cd gocardless
$ composer install
$ cv en gocardless # assuming you have cv installed.
......
......@@ -4,7 +4,7 @@ Trying to create a Scheduled Reminder that fires on the date of
a completed contribution will fail.
Read a longer
[discussion](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/115)
[discussion](https://lab.civicrm.org/extensions/gocardless/-/issues/115)
of the problem if you like but it's because the Contribution's
`receive_date` is always going to be a day behind when the contribution is
*confirmed* by GoCardless, and this means the Scheduled Reminder system
......
......@@ -17,13 +17,13 @@
`completeRedirectFlowWithGoCardless`. See `CRM_GoCardless_Hook`
- Implement `doPayment` instead of the old, deprecated `doTransferPayment`. See
https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/114
https://lab.civicrm.org/extensions/gocardless/-/issues/114
- Fix trouble with receipt policy (duplicate receipts or none!) - see
https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/107
https://lab.civicrm.org/extensions/gocardless/-/issues/107
- Fix 'source' not populating in subsequent contributions. - see
https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/118
https://lab.civicrm.org/extensions/gocardless/-/issues/118
## 1.10.1
......@@ -36,11 +36,11 @@
- New settings form. **Administer » CiviContribute » GoCardless Settings**
- Option to send receipts (previously it just didn’t) (fix [#61](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/61))
- Option to send receipts (previously it just didn’t) (fix [#61](https://lab.civicrm.org/extensions/gocardless/-/issues/61))
- Option to prevent users from forgetting to tick the Recurring and Auto-renew boxes. (fix [#72](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/72))
- Option to prevent users from forgetting to tick the Recurring and Auto-renew boxes. (fix [#72](https://lab.civicrm.org/extensions/gocardless/-/issues/72))
- Stores CiviCRM contact, contribution and contribution recur IDs on subscriptions at GoCardless (fix [#79](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/79))
- Stores CiviCRM contact, contribution and contribution recur IDs on subscriptions at GoCardless (fix [#79](https://lab.civicrm.org/extensions/gocardless/-/issues/79))
- Various fixes related to webhook URLs.
......@@ -48,7 +48,7 @@
## 1.9.3
- Reduce timeout for changing "Pending" recurring contributions to "Failed" from 24 hours to 0.66 hours. See [issue #76](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/76) You can still override this as a parameter, should you wish.
- Reduce timeout for changing "Pending" recurring contributions to "Failed" from 24 hours to 0.66 hours. See [issue #76](https://lab.civicrm.org/extensions/gocardless/-/issues/76) You can still override this as a parameter, should you wish.
- developers: fixed problem getting and setting the processor ID in import script. Thanks @jmdh for this. Also, there's been a massive refactor of the import script.
......@@ -65,7 +65,7 @@
## 1.9.2
- Move to `Payment.create` API instead of older (and deprecated) `Contribution.completetransaction` API.
- This is from PR #70 (Thanks @mattwire) which fixes [issue #63](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/63) on some sites where the first contribution never gets completed.
- This is from PR #70 (Thanks @mattwire) which fixes [issue #63](https://lab.civicrm.org/extensions/gocardless/-/issues/63) on some sites where the first contribution never gets completed.
- Also this method is now used for repeat payments.
- Fix some issues with the system checks (PR #69 thanks @mattwire)
......@@ -78,13 +78,13 @@
- **Do not install v 1.9 from civicrm.org/extensions** - it's missing the important libraries! Use 1.9.1
- Supports changing the amount and cancelling a subscription via CiviCRM main user interface ([issue #6](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/6)). It does not support letting supporters themselves change these things.
- Supports changing the amount and cancelling a subscription via CiviCRM main user interface ([issue #6](https://lab.civicrm.org/extensions/gocardless/-/issues/6)). It does not support letting supporters themselves change these things.
- One-way-upgrade: we now store the GoCardless subscription ID in *both* `trxn_id` and `processor_id` in the `civicrm_contribution_recur` table. This is because some parts of CiviCRM's UI require us to reference the record via `processor_id` which was unused up to this point. An upgrade task should populate existing data.
- Some membership dates logic was failing in the tests under CiviCRM 5.19. This version passes its tests again.
- Fix issue when setting up a weekly membership ([issue #59](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/59) - thanks to MJW Consulting for reporting and suggesting fix)
- Fix issue when setting up a weekly membership ([issue #59](https://lab.civicrm.org/extensions/gocardless/-/issues/59) - thanks to MJW Consulting for reporting and suggesting fix)
- Improvements to code standards; better support for translation possibilities; move tests to phpunit6.
......@@ -167,11 +167,11 @@
## 1.7
- Fixed issue in certain use cases that resulted in the First Name field not
being pre-populated ([issue #45](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/45)). Also further thanks to Aidan for knotty
being pre-populated ([issue #45](https://lab.civicrm.org/extensions/gocardless/-/issues/45)). Also further thanks to Aidan for knotty
discussions on membership.
- Fixed issue that caused *other* payment processors' configuration forms to
not save. ([issue #49](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/49))
not save. ([issue #49](https://lab.civicrm.org/extensions/gocardless/-/issues/49))
## 1.6 "stable"!
......
......@@ -205,7 +205,7 @@ function gocardless_civicrm_validateForm($formName, &$fields, &$files, &$form, &
* Implementation of hook_civicrm_check
*
* Add a check to the status page/System.check that the payment instrument has a financial account.
* See https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/51
* See https://lab.civicrm.org/extensions/gocardless/-/issues/51
*/
function gocardless_civicrm_check(&$messages) {
$result = civicrm_api3('OptionValue', 'getsingle', [
......
......@@ -11,9 +11,9 @@
<email>forums@artfulrobot.uk</email>
</maintainer>
<urls>
<url desc="Main Extension Page">https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless</url>
<url desc="Documentation">https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless</url>
<url desc="Support">https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless</url>
<url desc="Main Extension Page">https://civicrm.org/extensions/gocardless</url>
<url desc="Documentation">https://docs.civicrm.org/gocardless/en/latest/</url>
<url desc="Support">https://chat.civicrm.org/civicrm/channels/gocardless</url>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-02-24</releaseDate>
......
site_name: GoCardless Direct Debit Payment Processor Extension
repo_url: https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless
repo_url: https://lab.civicrm.org/extensions/gocardless
site_description: 'How to use the GoCardless payment processor'
site_author: 'Rich Lott / Artful Robot'
theme:
......
......@@ -1335,7 +1335,7 @@ class GoCardlessTest extends PHPUnit\Framework\TestCase implements HeadlessInter
// -------------------------------------------------------
// Mock a third, and our first successful ('confirmed'), contribution.
// @see https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/82
// @see https://lab.civicrm.org/extensions/gocardless/-/issues/82
// -------------------------------------------------------
$body = '{"events":[
{"id":"EV3","resource_type":"payments","action":"confirmed","links":{"payment":"PAYMENT_ID_3"}}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment