Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from activemerchant:master #666

Open
wants to merge 1,023 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1023 commits
Select commit Hold shift + click to select a range
66e4305
Ebanx: Update Verify
Aug 21, 2023
461ff34
Shift4_v2: Inherit securionPay API to enable Shift4v2 (#4860)
javierpedrozaing Aug 29, 2023
3d007ed
Rapyd: 3ds gateway specific (#4876)
javierpedrozaing Sep 1, 2023
4b7265b
TNS: Use the customer specified order_id in the request
yunnydang Aug 30, 2023
587795e
CYBS: Recurring NT
aenand Jul 18, 2023
2eeb3ab
SER-728 Create Verve Card Type. This change new credit card brands ve…
jherreraa Sep 6, 2023
f2b2fcb
Rapyd: Add fields and update stored credential method
yunnydang Aug 29, 2023
3e89d92
CommerceHub: Update headers (#4853)
javierpedrozaing Sep 8, 2023
0013c6f
Adyen: Add the store field
yunnydang Aug 30, 2023
d185244
Stripe PI: Expand balance txns for off session transactions
yunnydang Sep 8, 2023
fdf8d37
Rapyd: Update cvv behavior (#4883)
javierpedrozaing Sep 12, 2023
815dcbc
CyberSource (SOAP): Added support for 3DS exemption request fields
BritneyS Sep 6, 2023
3b28d86
StripePI: Adding network tokenization fields to Stripe PaymentIntents
BritneyS Jul 11, 2023
71ee93e
Shift4: Fixing currency bug (#4887)
Heavyblade Sep 14, 2023
120f215
Rapyd: fixing issue with json encoding and signatures (#4892)
Heavyblade Sep 14, 2023
8b93270
SumUp - Setup, Scrub and Purchase build (#4890)
sinourain Sep 20, 2023
8e375ec
XpayGateway: initia Setup (#4889)
javierpedrozaing Sep 20, 2023
9f4eb4b
Rapyd: Add validation to not send cvv and network_reference_id (#4895)
javierpedrozaing Sep 21, 2023
78be05b
Ebanx: Add Ecuador & Bolivia in supported countries
Sep 19, 2023
2e75e25
Rapyd: Fix cvv validation (#4896)
javierpedrozaing Sep 25, 2023
fab678b
Decidir: Add support for network tokens
Aug 22, 2023
257075c
Braintree: return global_id in response
rachelkirk Sep 12, 2023
054c26c
Element: Fix credit card name bug
Sep 22, 2023
19d0479
Adyen: Add payout endpoint
Sep 12, 2023
e9e00a3
Checkout: Add support for `sender`, `destination` and `instruction` o…
rachelkirk Aug 17, 2023
3931adf
Adding Oauth Response for access tokens
Aug 11, 2023
14f1c3c
CheckoutV2: Update stored credentials
Sep 29, 2023
b10e6c2
Revert "Adding Oauth Response for access tokens"
Oct 3, 2023
f207855
Braintree: Create credit card nonce (#4897)
gasb150 Oct 3, 2023
a585f30
Adyen: Fix bug for shopperEmail
Oct 3, 2023
b5d68f3
Add new cabal bin range
yunnydang Oct 4, 2023
3c578b9
Kushki: Fixing issue with 3DS info on visa cc (#4899)
Heavyblade Oct 5, 2023
6494fb6
Adyen: Add `address_override` to swap address1 and address2
rachelkirk Oct 4, 2023
2165af8
Adyen: Update MIT flagging for NT
aenand Oct 2, 2023
c071479
Moneris: Update sca actions
Sep 29, 2023
072b7fb
Ogone: Add gateway specific 3ds option with default options mapping (…
jherreraa Oct 11, 2023
917cd1e
Rapyd: Add recurrence_type field
yunnydang Oct 12, 2023
e3325e5
Revert "Adyen: Update MIT flagging for NT"
Oct 12, 2023
af6cd39
Revert "Braintree: Create credit card nonce (#4897)" (#4915)
naashton Oct 13, 2023
f2e44d3
SumUp: Add Void and Refund calls (#4891)
sinourain Oct 16, 2023
0215dd5
Revert "Revert "Braintree: Create credit card nonce (#4897)" (#4915)"…
naashton Oct 17, 2023
acfa39b
Rapyd: send customer object on us payment types (#4919)
Heavyblade Oct 20, 2023
f64a656
SecurionPay/Shift4_v2: authorization from. (#4913)
gasb150 Oct 20, 2023
89516af
Rapyd: fix the recurrence_type field
yunnydang Oct 18, 2023
c43a1d5
Element Gateway: Add all lodging fields, documentation can be found […
yunnydang Jun 16, 2023
791eae3
SafeCharge (Nuvei): Fix the credit method for sg_CreditType field
yunnydang Oct 16, 2023
4690f86
Rapyd: add force_3ds_secure flag (#4927)
Heavyblade Oct 23, 2023
b1ea7b4
Beanstream: add alternate option for passing phone number
jcreiff Oct 19, 2023
544806e
Authorize.NET: Update network token method
Aug 11, 2023
2146f94
Adding Oauth Response for access tokens
Oct 3, 2023
ba4a1e3
GlobalCollect: Add support for 3DS exemptions
Oct 16, 2023
7384f22
Revert "Rapyd: send customer object on us payment types (#4919)" (#4930)
naashton Oct 25, 2023
8a9140b
NMI: Update supported countries list
jcreiff Oct 26, 2023
7cff0c0
Adyen: Add mcc field
jcreiff Oct 20, 2023
1caae49
Close stale issues/PRs
aenand Apr 17, 2023
28d1eb5
Activate stale PR/issue GHA script
curiousepic Oct 30, 2023
6a4afac
Quickbooks: Remove raise OAuth from extract_response_body_or_raise
Oct 27, 2023
b102bbc
Kushki: Add support for Partial Refunds
rachelkirk Oct 27, 2023
7a57f17
Fix token nonce to support nil billing address (#4938)
gasb150 Nov 2, 2023
6580e97
Cecabank: Add new Cecabank gateway to use the JSON REST API (#4920)
sinourain Nov 3, 2023
9e87b8b
Cecabank: Add 3DS Global to Cecabank REST JSON gateway (#4940)
sinourain Nov 3, 2023
bcc5e16
Cecabank: Add scrub implementation (#4945)
sinourain Nov 6, 2023
330f0b9
GlobalCollect: Fix bug in success_from logic (#4939)
DustinHaefele Nov 7, 2023
3e1cd71
SafeCharge: Support tokens
Nov 1, 2023
04754c6
Revert "SafeCharge: Support tokens"
Nov 7, 2023
66b3a6d
Worldpay: Update 3ds logic to accept df_reference_id directly (#4929)
DustinHaefele Nov 7, 2023
f260f0a
Orbital: Enable Third Party Vaulting (#4928)
javierpedrozaing Nov 7, 2023
59edd76
Quickbooks: Remove OAuth response from refresh_access_token
Nov 8, 2023
73cb68d
Payeezy: Add customer_ref and reference_3 fields
yunnydang Nov 2, 2023
b9bbc88
Redsys Rest
aenand Nov 8, 2023
88842f1
CyberSource: surface the reconciliationID2 field if present
yunnydang Oct 27, 2023
383e35f
Worldpay: Update stored credentials logic (#4950)
DustinHaefele Nov 14, 2023
2d66556
ecs-3181 preliminary identification of changes needed, and TODOs to i…
bradbroge Oct 30, 2023
dc68f7a
test change
bradbroge Oct 31, 2023
36fb171
Adding some function and some testing
bradbroge Nov 7, 2023
e9a4940
linting fix
bradbroge Nov 7, 2023
9cf4fca
other lint fix
bradbroge Nov 7, 2023
b8db16a
adding unit test
bradbroge Nov 9, 2023
376545a
Vantiv Express: New Xml gateway (#4956)
DustinHaefele Nov 15, 2023
2034c36
Rapyd: update force_3d_secure GSF behavior (#4955)
Heavyblade Nov 15, 2023
8667dd2
Shift4 V2: Add unstore function (#4953)
javierpedrozaing Nov 15, 2023
5a1c4a3
Description (#4957)
sinourain Nov 15, 2023
3b9de1f
SumUp Gateway: Fix refund method (#4924)
sinourain Nov 17, 2023
a7b2681
Braintree: Add new stored credential method
aenand Oct 26, 2023
22c1995
Cybersource REST: Remove request-target parens (#4960)
curiousepic Nov 21, 2023
fd6ec7b
Ogone: Fix signature calulcation for blank fields (#4963)
Heavyblade Nov 21, 2023
c0dd853
VisaNet Peru: Pass the purchaseNumber in response
yunnydang Nov 16, 2023
7108e98
SafeCharge: Support tokens
Nov 7, 2023
b5810bd
Redsys: Update to $0 verify
Nov 3, 2023
482a4e9
Litle: Update stored credentials
Oct 2, 2023
2e6d068
WorldPay: Accept GooglePay pan only
Nov 2, 2023
242b22b
Braintree stored creds v2: update unschedule
aenand Nov 22, 2023
bab2f49
Stripe PI: add the card brand field
yunnydang Nov 21, 2023
a4ae6af
Rapyd: Enable new auth mode payment_redirect (#4970)
javierpedrozaing Nov 30, 2023
8d87c33
Cecabank: Fix exemption_type when it is blank and update the error co…
sinourain Nov 30, 2023
c654c5c
RedsysRest: Update to $0 verify
Nov 30, 2023
a38ce2b
CommerceHub: Add credit transaction (#4965)
sinourain Dec 1, 2023
ce383d6
Paytrace: Send csc value in credit_card requests (#4974)
DustinHaefele Dec 6, 2023
2f24377
Orbital: Remove needless GSF for TPV (#4959)
javierpedrozaing Dec 7, 2023
71afd26
Adyen: Provide ZZ as default country code
jcreiff Nov 29, 2023
530c34e
MIT: Add test_url
jcreiff Dec 4, 2023
d9388b5
VantivExpress: Fix eci bug
Dec 8, 2023
460e0b9
IPG: support merchant aggregator credentials. (#4986)
DustinHaefele Dec 14, 2023
db99944
Adyen: Add support for `metadata`
rachelkirk Dec 13, 2023
148345e
NexiXpay: Add basic operation through 3ds (#4969)
jherreraa Dec 15, 2023
a318d41
Rapyd: Enable idempotent request support (#4980)
javierpedrozaing Dec 18, 2023
1596700
Litle: Update account type
Dec 1, 2023
b322efb
Wompi: Add support for `tip_in_cents`
rachelkirk Dec 8, 2023
01226c6
HiPay: Add Gateway (#4979)
gasb150 Dec 20, 2023
2d0ed3f
SER-705 Nexi Xpay Void, Refund, Verify (#4978)
jherreraa Dec 20, 2023
f9e8a40
Braintree Blue: Add more payment detail objects
yunnydang Dec 18, 2023
53a2cbf
CyberSource: add the first_recurring_payment auth service field
yunnydang Dec 16, 2023
65bd0bc
CommerceHub: Add dynamic descriptors
jcreiff Dec 20, 2023
228f0ce
Rapyd: email mapping update
Dec 20, 2023
649fdf7
SagePay: Toggle protocol version via transaction
aenand Dec 18, 2023
8a23b46
SagePay: Add 3DS2 preauth params
aenand Dec 20, 2023
6824514
Braintree: Send merchant_account_id for creation of client token
Dec 18, 2023
4fa780b
Checkout: Update reponse message for 3DS transactions
Dec 1, 2023
e0ecef2
HiPay: Scrub/Refund/Void (#4995)
gasb150 Jan 4, 2024
60f2b18
Summary: Fix Nexi Headers for capture and refund transactions (#5003)
jherreraa Jan 11, 2024
f700833
Rapyd: Adding fixed_side and requested_currency options (#4962)
Heavyblade Jan 11, 2024
8d2b03a
PedidosYa: Add new card type tuya. (#4993)
sinourain Jan 12, 2024
6bbef59
Cecabank: Fix scrubbing (#5004)
javierpedrozaing Jan 12, 2024
e6b2f09
Cecabank: Encrypt credit card fields (#4988)
sinourain Jan 12, 2024
6fc8955
HiPay: Add unstore (#4999)
gasb150 Jan 12, 2024
1b84d4c
Rapyd: Fix transaction with two digits in month and year (#5008)
javierpedrozaing Jan 12, 2024
f3b0ae2
SagePay: Add support for stored credentials
Jan 11, 2024
acb138e
Payeezy: Pull cardholder name from billing address
Jan 11, 2024
456b261
Shift4: update response mapping
rachelkirk Jan 5, 2024
f961f50
HiPay: Add 3ds params (#5012)
gasb150 Jan 22, 2024
8946614
Cecabank: Fix gateway scrub method (#5009)
sinourain Jan 22, 2024
b4c67e9
Pin Gateway: Add the platform_adjustment field
yunnydang Jan 19, 2024
853b91e
Priority: Allow gateway fields to be available on capture endpoint
yunnydang Jan 18, 2024
b514dbc
Update Rubocop to 1.14.0
Jan 10, 2024
cb86eba
Revert "Update Rubocop to 1.14.0"
Jan 24, 2024
51d1c62
Add payment_data to network_tokenization_credit_card
Sep 12, 2023
799bcf8
IPG: Update handling of ChargeTotal
jcreiff Jan 25, 2024
f2b39c7
Plexo: add the invoice_number field
yunnydang Jan 25, 2024
b907fa7
CheckoutV2: Handle empty address in payout destination data
jcreiff Jan 29, 2024
4856609
CyberSource: Add the auth_servive aggregator_id field
yunnydang Jan 29, 2024
4561ca3
This PR excludes the threeds node in the cecabank requests for the no…
jherreraa Jan 30, 2024
fd99d7c
Moneris: Add the customer id field
yunnydang Jan 29, 2024
eb0d467
Kushki: add the product_details field
yunnydang Jan 29, 2024
6d7247e
GlobalCollect: Add support for encrypted payment data
Jan 23, 2024
ac99d7b
Rapyd: Adding 500 errors handling (#5029)
Heavyblade Feb 1, 2024
0932b65
SumUp: Add 3DS fields (#5030)
sinourain Feb 2, 2024
8339525
Quickbooks: Update scrubbing logic
Jan 31, 2024
23008e0
Revert "Quickbooks: Update scrubbing logic"
Feb 15, 2024
ce23824
Cecabank: Enable network_transaction_id as GSF (#5034)
javierpedrozaing Feb 15, 2024
f447f06
Braintree: surface the paypal_details in response obeject
yunnydang Feb 20, 2024
9eea3b4
Stripe Payment Intents: update logic for authorization value (#5044)
DustinHaefele Feb 22, 2024
4458f0c
RedsysRest: Add support for 3DS
Feb 16, 2024
e624f5a
Update Worldline URLS (#5049)
DeeMeyers Feb 27, 2024
ae68dcc
Quickbooks: Update scrub method
Feb 15, 2024
d602989
GlobalCollect: Remove decrypted payment data
Jan 31, 2024
a8b371e
StripePI: Update authorization_from
Feb 26, 2024
b1840a3
Stripe Payment Intents: Update expand latest_attempt on create_setup …
DustinHaefele Feb 28, 2024
650e70a
FirstPay: Add REST JSON transaction methods (#5035)
sinourain Feb 28, 2024
ebcb303
Elavon: Update Stored Credential behavior
curiousepic Jan 22, 2024
92677f2
Shift4: Add support for avs_result
rachelkirk Feb 22, 2024
ebcfbad
Revert "Elavon: Update Stored Credential behavior"
Mar 1, 2024
b3dd83f
Braintree Blue: Refactor and add payment details to failed transactions
yunnydang Feb 27, 2024
e4808cf
Cecabank - Amex CVV Update (#5051)
sinourain Mar 7, 2024
f961de3
FirstPay rest support for ApplePay GooglePay (#5036)
sinourain Mar 8, 2024
cae6f49
Update Nexi Xpay to use 3DS 3steps API (#5046)
sinourain Mar 11, 2024
a71e2a6
SagePay: Update test and live URLs
Mar 6, 2024
2658683
Bin Update: Add sodexo bins
yunnydang Mar 11, 2024
e821b63
Authorize Net: add the surcharge field
yunnydang Mar 11, 2024
8646348
Paymentez: Update field for reference_id
Mar 18, 2024
cdafb68
CyberSource: Extend support for `gratuity_amount`, update Mastercard …
rachelkirk Mar 13, 2024
7e76972
Update Nexi Xpay basic transactions after implement 3DS 3steps API (#…
sinourain Mar 22, 2024
9a2b8cc
AuthorizeNet: Remove turn_on_nt_flow
Mar 5, 2024
74c2edc
Adyen: Update failed for network token cryptogram
Mar 1, 2024
0cdb831
Revert "Adyen: Update failed for network token cryptogram"
Mar 28, 2024
4331b58
CheckoutV2: add processing and recipient fields
yunnydang Mar 25, 2024
5918a42
Avoid anonymous eval (#4675)
casperisfine Mar 29, 2024
09b6647
RedsysRest: Omit CVV from requests when not present
jcreiff Apr 1, 2024
8dcf48c
Redsys Rest: Fix handling of missing CVV
jcreiff Apr 2, 2024
d601e13
Add unionpay bin
yunnydang Apr 2, 2024
469f835
MerchantWarrior: Addding support for 3DS Global fields (#5072)
Heavyblade Apr 4, 2024
ce1dcb6
FatZebra: Adding third-party 3DS params (#5066)
Heavyblade Apr 4, 2024
1a81fe3
Fix rubocop offenses for Xpay gateway (#5073)
sinourain Apr 4, 2024
b86cefb
SumUp - Remove Void method (#5060)
sinourain Apr 4, 2024
22da7e0
StripePI: New ApplePay/GooglePay flow
Mar 15, 2024
f814a5d
Braintree: Add merchant_account_id to Verify
Mar 26, 2024
0479745
[ECS-3370](https://spreedly.atlassian.net/browse/ECS-3370)
jherreraa Apr 3, 2024
ace6f5e
Updating Rubocop to 1.14.0
Mar 20, 2024
ab3821d
Update StripePI scrub and Paymentez success_from
Apr 10, 2024
6d304b4
Adyen: Update error code mapping (#5085)
DustinHaefele Apr 11, 2024
6d238e3
Add new routex bin
yunnydang Apr 10, 2024
41ffa0b
Improve the way that we detect successful transactions and the way th…
sinourain Apr 12, 2024
c2f4d7c
Adyen: Update "unexpected 3DS authentication response" error message …
Apr 2, 2024
5dd568b
Plexo: Add flow field to capture, purchase, and auth
yunnydang Apr 12, 2024
7ffdfc8
Shift4v2: Adding bank account support
Heavyblade Apr 9, 2024
192a431
PayTrace: Always send name in billing_address
Apr 5, 2024
6cfbd1e
StripePI: Update eci format
Apr 16, 2024
09af781
Paymentez: Remove reference_id flag
Apr 2, 2024
42a3072
Fixing test CI pipeline
Heavyblade Apr 16, 2024
d93e2bf
Revert "Fixing test CI pipeline"
Heavyblade Apr 19, 2024
39603de
Cybersource: Update NT flow
Apr 11, 2024
7034274
Revert "Cybersource: Update NT flow"
Apr 19, 2024
b6d6c11
Cybersource Rest: Support normalized 3DS data
aenand Apr 23, 2024
8e9b34f
Braintree: Expose data in params
aenand Apr 5, 2024
732e89b
Datatrans: First implementation
Apr 18, 2024
311d29a
Checkout V2: Retain and refresh OAuth access token
Apr 25, 2024
77b8950
Worldpay: Remove default ECI for NT
aenand Apr 22, 2024
64eb004
Changelog entry
aenand May 1, 2024
51252ce
Cybersource: Update NT flow
Apr 11, 2024
4b0ee60
Litle: update the enhanced data field to return integer
yunnydang Apr 30, 2024
f89d548
Litle: Fix commodity code placement in enhanced data fields
yunnydang May 2, 2024
0faace6
Cybersource Rest: Support NT (#5107)
aenand May 3, 2024
12bfa4b
Decidir: Add support for `customer` object
rachelkirk Mar 26, 2024
b68d725
FlexCharge: Adding support fot FlexCharge gateway
Heavyblade Apr 25, 2024
20474d5
Shift4V2: Adding store for bank account and cc
Heavyblade Apr 26, 2024
a849db6
Worldpay: Update stored creds (#5114)
aenand May 8, 2024
9a51b19
Datatrans: NT, AP, GP support (#5110)
gasb150 May 9, 2024
0c95361
Worldpay: Encyrpted ApplePay and GooglePay
Apr 15, 2024
db5c4fe
Revert "Worldpay: Encyrpted ApplePay and GooglePay"
May 15, 2024
e85fd16
Paymentez: Updates success_from method
May 6, 2024
fe2142b
Datatrans: Add 3DS2 Global
May 7, 2024
a74cbe1
FlexCharge: Add 3ds Global support
May 14, 2024
5278776
Flex Charge: Add support for TPV store (#5120)
edgarv09 May 20, 2024
52f2295
CheckoutV2: add sender object for purchase and auth
yunnydang May 17, 2024
15e704e
HiPay: Fix parse authorization string (#5119)
javierpedrozaing May 21, 2024
5378f95
Worldpay: Provide option to use default ECI value
aenand May 20, 2024
267590b
Orbital: Add support for L2 and L3 fields, update XSD file
rachelkirk May 17, 2024
0726f75
Update Stored Credentials for dlocal gateway
Apr 30, 2024
23cc081
HiPay: Fix mastercard brand mapping (#5131)
javierpedrozaing May 23, 2024
403eef9
FlexCharge: Adding Inquire support
Heavyblade May 20, 2024
34342e1
NMI: add NTID override
yunnydang May 24, 2024
291fc01
Elavon: Add support for ApplePay and GooglePay
Feb 28, 2024
77bd386
Add L2/L3 data for cybersource rest and worldpay (#5117)
aenand May 29, 2024
00ab3fe
Add new UATP card type (#5137)
javierpedrozaing May 31, 2024
a2ef301
Release v1.136.0 (#5140)
DustinHaefele Jun 3, 2024
81f6eb2
Upgrade ruby 3.1 (#5104)
DustinHaefele Jun 3, 2024
569d3a4
FlexCharge: Update inquire call
Heavyblade May 31, 2024
b035ef4
Litle: Add 141 and 142 as successful responses
May 24, 2024
283127f
Braintree and Worldpay: support overriding NTID (#5129)
aenand Jun 5, 2024
6d0d996
Cybersource Rest: Stored Credential refactor (#5083)
aenand Jun 6, 2024
5d1455e
Plexo: Add support to NetworkToken payments (#5130)
edgarv09 Jun 6, 2024
e282efb
Update the error_code_from method to grab and alpha_numeric character…
DustinHaefele Jun 12, 2024
32e4da3
Braintree Blue: add graceul failure if zipcode is not present
yunnydang Jun 4, 2024
23169a5
DLocal: update the zip and ip fields
yunnydang Jun 6, 2024
5bd880f
Litle: Add tests for network tokenization (#5145)
Buitragox Jun 18, 2024
b636002
Datatrans: Add support for verify transactions (#5148)
pipe2442 Jun 21, 2024
d31c20c
Checkout V2: add support for risk data fields
yunnydang Jun 20, 2024
94377a3
Pin: Add new 3DS params mentioned in Pin Payments docs (#4720)
hudakh Jun 24, 2024
80c3cb5
RedsysRest: Add support for stored credentials & 3DS exemptions
jherreraa May 22, 2024
3805b4b
Fix rubocop error
Jun 25, 2024
2aa3c32
Datatrans: Fix InvalidCountryCodeError (#5156)
pipe2442 Jun 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/ruby-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
strategy:
matrix:
version:
- 2.5
- 2.6
- 2.7
- 3.1
gemfile:
- gemfiles/Gemfile.rails50
- gemfiles/Gemfile.rails51
Expand All @@ -42,3 +40,5 @@ jobs:

- name: Test
run: bundle exec rake test
- name: Linter
run: bundle exec rubocop
19 changes: 19 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
stale-issue-message: 'To provide a cleaner slate for the maintenance of the library, this PR/Issue is being labeled stale after 60 days without activity. It will be closed in 14 days unless you comment with an update regarding its applicability to the current build. Thank you!'
stale-pr-message: 'To provide a cleaner slate for the maintenance of the library, this PR/Issue is being labeled stale after 60 days without activity. It will be closed in 14 days unless you comment with an update regarding its applicability to the current build. Thank you!'
days-before-close: 14
exempt-draft-pr: true
93 changes: 90 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ AllCops:
- "lib/active_merchant/billing/gateways/paypal_express.rb"
- "vendor/**/*"
ExtraDetails: false
TargetRubyVersion: 2.5
TargetRubyVersion: 3.1

# Active Merchant gateways are not amenable to length restrictions
Metrics/ClassLength:
Expand All @@ -24,7 +24,7 @@ Metrics/ClassLength:
Metrics/ModuleLength:
Enabled: false

Layout/AlignParameters:
Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation

Layout/DotPosition:
Expand All @@ -33,9 +33,96 @@ Layout/DotPosition:
Layout/CaseIndentation:
EnforcedStyle: end

Layout/IndentHash:
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent

Naming/PredicateName:
Exclude:
- "lib/active_merchant/billing/gateways/payeezy.rb"
- 'lib/active_merchant/billing/gateways/airwallex.rb'

Gemspec/DateAssignment: # (new in 1.10)
Enabled: true
Layout/SpaceBeforeBrackets: # (new in 1.7)
Enabled: true
Lint/AmbiguousAssignment: # (new in 1.7)
Enabled: true
Lint/DeprecatedConstants: # (new in 1.8)
Enabled: true # update later in next Update Rubocop PR
Lint/DuplicateBranch: # (new in 1.3)
Enabled: false
Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
Enabled: true
Lint/EmptyBlock: # (new in 1.1)
Enabled: false # update later in next Update Rubocop PR
Exclude:
- 'lib/active_merchant/billing/gateways/authorize_net.rb'
- 'lib/active_merchant/billing/gateways/secure_net.rb'
Lint/EmptyClass: # (new in 1.3)
Enabled: true
Lint/FloatComparison:
Exclude:
- 'lib/active_merchant/billing/gateways/payu_latam.rb'
Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
Enabled: true
Lint/NonDeterministicRequireOrder:
Exclude:
- 'script/generate'
Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
Enabled: true
Exclude:
- 'lib/active_merchant/billing/gateways/fat_zebra.rb'
- 'lib/active_merchant/billing/gateways/netbanx.rb'
- 'lib/active_merchant/billing/gateways/payway_dot_com.rb'
Lint/NumberedParameterAssignment: # (new in 1.9)
Enabled: true
Lint/OrAssignmentToConstant: # (new in 1.9)
Enabled: true
Lint/RedundantDirGlobSort: # (new in 1.8)
Enabled: true
Lint/SymbolConversion: # (new in 1.9)
Enabled: true
Lint/ToEnumArguments: # (new in 1.1)
Enabled: true
Lint/TripleQuotes: # (new in 1.9)
Enabled: true
Lint/UnexpectedBlockArity: # (new in 1.5)
Enabled: true
Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
Enabled: true
Style/ArgumentsForwarding: # (new in 1.1)
Enabled: true
Style/CollectionCompact: # (new in 1.2)
Enabled: false # update later in next Update Rubocop PR
Style/DocumentDynamicEvalDefinition: # (new in 1.1)
Enabled: true
Exclude:
- 'lib/active_merchant/billing/credit_card.rb'
- 'lib/active_merchant/billing/response.rb'
Style/EndlessMethod: # (new in 1.8)
Enabled: true
Style/HashConversion: # (new in 1.10)
Enabled: true
Exclude:
- 'lib/active_merchant/billing/gateways/payscout.rb'
- 'lib/active_merchant/billing/gateways/pac_net_raven.rb'
Style/HashExcept: # (new in 1.7)
Enabled: true
Style/IfWithBooleanLiteralBranches: # (new in 1.9)
Enabled: false # update later in next Update Rubocop PR
Style/NegatedIfElseCondition: # (new in 1.2)
Enabled: true
Style/NilLambda: # (new in 1.3)
Enabled: true
Style/RedundantArgument: # (new in 1.4)
Enabled: false # update later in next Update Rubocop PR
Style/StringChars: # (new in 1.12)
Enabled: false # update later in next Update Rubocop PR
Style/SwapValues: # (new in 1.1)
Enabled: true
Naming/VariableNumber:
Enabled: false
Style/OptionalBooleanParameter:
Enabled: false
Style/RedundantRegexpEscape:
Enabled: false
71 changes: 45 additions & 26 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# SupportedHashRocketStyles: key, separator, table
# SupportedColonStyles: key, separator, table
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
Layout/AlignHash:
Layout/HashAlignment:
Enabled: false

# Offense count: 150
Expand All @@ -26,7 +26,7 @@ Lint/FormatParameterMismatch:
- 'test/unit/credit_card_formatting_test.rb'

# Offense count: 2
Lint/HandleExceptions:
Lint/SuppressedException:
Exclude:
- 'lib/active_merchant/billing/gateways/mastercard.rb'
- 'lib/active_merchant/billing/gateways/trust_commerce.rb'
Expand Down Expand Up @@ -65,6 +65,8 @@ Metrics/CyclomaticComplexity:
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 163
IgnoredMethods:
- 'setup'

# Offense count: 2
# Configuration parameters: CountKeywordArgs.
Expand Down Expand Up @@ -99,7 +101,7 @@ Naming/MethodName:
# Offense count: 14
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db
Naming/UncommunicativeMethodParamName:
Naming/MethodParameterName:
Exclude:
- 'lib/active_merchant/billing/gateways/blue_snap.rb'
- 'lib/active_merchant/billing/gateways/cyber_source.rb'
Expand Down Expand Up @@ -173,13 +175,6 @@ Style/BarePercentLiterals:
Style/BlockDelimiters:
Enabled: false

# Offense count: 440
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: braces, no_braces, context_dependent
Style/BracesAroundHashParameters:
Enabled: false

# Offense count: 2
Style/CaseEquality:
Exclude:
Expand Down Expand Up @@ -231,10 +226,34 @@ Style/ColonMethodCall:
# Configuration parameters: Keywords.
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
Style/CommentAnnotation:
Exclude:
- 'test/remote/gateways/remote_usa_epay_advanced_test.rb'
- 'test/unit/gateways/authorize_net_cim_test.rb'
- 'test/unit/gateways/usa_epay_advanced_test.rb'
Enabled: false # update later in next Update Rubocop PR

Style/StringConcatenation:
Enabled: false # update later in next Update Rubocop PR
Style/SingleArgumentDig:
Enabled: false # update later in next Update Rubocop PR
Style/SlicingWithRange:
Enabled: false # update later in next Update Rubocop PR
Style/HashEachMethods:
Enabled: false # update later in next Update Rubocop PR
Style/CaseLikeIf:
Enabled: false # update later in next Update Rubocop PR
Style/HashLikeCase:
Enabled: false # update later in next Update Rubocop PR
Style/GlobalStdStream:
Enabled: false # update later in next Update Rubocop PR
Style/HashTransformKeys:
Enabled: false # update later in next Update Rubocop PR
Style/HashTransformValues:
Enabled: false # update later in next Update Rubocop PR
Lint/RedundantSafeNavigation:
Enabled: false # update later in next Update Rubocop PR
Lint/EmptyConditionalBody:
Enabled: false # update later in next Update Rubocop PR
Style/SoleNestedConditional:
Exclude: # update later in next Update Rubocop PR
- 'lib/active_merchant/billing/gateways/card_connect.rb'
- 'lib/active_merchant/billing/gateways/blue_snap.rb'

# Offense count: 8
Style/CommentedKeyword:
Expand Down Expand Up @@ -381,17 +400,7 @@ Style/FormatString:
# Configuration parameters: EnforcedStyle.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
Exclude:
- 'lib/active_merchant/billing/gateways/redsys.rb'
- 'lib/active_merchant/connection.rb'
- 'lib/active_merchant/network_connection_retries.rb'
- 'test/remote/gateways/remote_balanced_test.rb'
- 'test/remote/gateways/remote_openpay_test.rb'
- 'test/unit/gateways/balanced_test.rb'
- 'test/unit/gateways/elavon_test.rb'
- 'test/unit/gateways/exact_test.rb'
- 'test/unit/gateways/firstdata_e4_test.rb'
- 'test/unit/gateways/safe_charge_test.rb'
Enabled: false

# Offense count: 679
# Cop supports --auto-correct.
Expand All @@ -410,6 +419,15 @@ Style/GlobalVars:
- 'test/unit/gateways/finansbank_test.rb'
- 'test/unit/gateways/garanti_test.rb'

Lint/MissingSuper:
Exclude:
- 'lib/active_merchant/billing/gateways/payway.rb'
- 'lib/active_merchant/billing/response.rb'
- 'lib/active_merchant/billing/gateways/orbital/orbital_soft_descriptors.rb'
- 'lib/active_merchant/billing/gateways/orbital.rb'
- 'lib/active_merchant/billing/gateways/linkpoint.rb'
- 'lib/active_merchant/errors.rb'

# Offense count: 196
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Expand Down Expand Up @@ -448,6 +466,7 @@ Style/InverseMethods:
Exclude:
- 'lib/active_merchant/billing/gateways/ogone.rb'
- 'lib/active_merchant/billing/gateways/worldpay.rb'
Enabled: false # update later in next Update Rubocop PR

# Offense count: 32
# Cop supports --auto-correct.
Expand Down Expand Up @@ -733,6 +752,6 @@ Style/ZeroLengthPredicate:
# Offense count: 9321
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Layout/LineLength:
Max: 2602

Loading