Skip to content

[pull] master from braintree:master#1

Open
pull[bot] wants to merge 1783 commits intomaneeshd:masterfrom
braintree:master
Open

[pull] master from braintree:master#1
pull[bot] wants to merge 1783 commits intomaneeshd:masterfrom
braintree:master

Conversation

@pull
Copy link

@pull pull bot commented Oct 2, 2020

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

chrissiedunham and others added 27 commits June 15, 2020 18:37
fraud merchant

Why This Change Is Necessary
========================================================================
Fraud Tools Eval recently changed the GW behavior so that in sandbox, a
merchant can only trigger the `fraud` gateway rejection reason if that
merchant is actually enrolled in an advanced fraud protection product.

What These Changes Do To Address the Issue
========================================================================
The current test set up in the sdks did not reflect this state; this
change runs the specs designed to trigger `fraud` to use the advanced
fraud protection test merchant.

Side Effects Caused By This Change
========================================================================
None expected.
------------------------------------------------------------------------
**Relevant Links:**
  * [Ticket
Link][https://engineering.paypalcorp.com/jira/browse/DTBTFTEVAL-406]
------------------------------------------------------------------------
[1]: http://jira.com
…jection_reason_spec

DTBTFTEVAL-406 - Update fraud rejection reason spec to use advanced
What
===
Adds the network_transaction_id field to the Verification response.

Why
===
Some merchants dual vault with Braintree and another provider, they need
access to the NTI for MIT mandate compliance.

Co-authored-by: hstotelmyer <holly.stotelmyer@getbraintree.com>
Add support for Transaction sale requests to include fields required
to qualify for American Express enhanced auth. These added fields are:
   * Transaction.product_sku
   * Address.phone_number
   * Address.shipping_method
   * RiskData.customer_device_id
   * RiskData.customer_tenure
   * RiskData.customer_location_zip
…#376)

The Gateway only accepts the shipping_method parameter on Transaction
sale calls.
…umber}IsInvalid error codes to Transaction (#377)

These are validation errors that are only raised during
Transaction#sale invocations.
Adds logic to handle the validation error that is raised when
an invalid product sku is specified.
… in Unreleased section (#379)

# Summary

Update the changelog so that ProductSkuIsInvalid error code is listed
under the Unreleased section.

This was inadvertently added under section 4.2.0 after 4.2.0 was
released, as part of commit 32382ef.
…(#380)

Why This Change Is Necessary
========================================================================
Merchants should be able to use a constant for this new (not that new)
gateway rejection reason.

What These Changes Do To Address the Issue
========================================================================
Adds the constant.

Side Effects Caused By This Change
========================================================================

None expected.

------------------------------------------------------------------------

**Relevant Links:**

  * [Ticket Link][1]

------------------------------------------------------------------------

[1]: https://engineering.paypalcorp.com/jira/browse/DTBTFTEVAL-255
* Standardize unit and integration test tasks in Rakefile

* Update to be more like node and ruby
Co-authored-by: Blade Barringer <blade.barringer@getbraintree.com>
…ransaction (#382)

* DTBTCDOPT-207: Adding network tokenization fields to CreditCard and
Transaction

Co-authored-by: Irma Lam <irma.lamhe@getbraintree.com>

* DTBTCDOPT-207 - Fixing Changelog as per PR comments

Co-authored-by: Irma Lam <irma.lamhe@getbraintree.com>

Co-authored-by: Irma Lam <irma.lamhe@getbraintree.com>
* deprecate masterpass and amex express checkout cards

* Update braintree/amex_express_checkout_card.py

Co-Authored-By: Sarah Koop <skoop@paypal.com>

Co-authored-by: scannillo <samantha.cannillo@getbraintree.com>
Co-authored-by: Sarah Koop <skoop@paypal.com>
* Add credit method to TransactionGateway

Signed-off-by: Holly Stotelmyer <holly.stotelmyer@getbraintree.com>

* move tests that use gateway methods to correct file

Signed-off-by: Holly Stotelmyer <holly.stotelmyer@getbraintree.com>

* changeloggggggg

Signed-off-by: Susan Stevens <susan.stevens@getbraintree.com>

* Remove tests that were moved to the test_transaction_gateway file

Signed-off-by: Holly Stotelmyer <holly.stotelmyer@getbraintree.com>

Co-authored-by: Susan Stevens <susan.stevens@getbraintree.com>
@pull pull bot added ⤵️ pull merge-conflict Resolve conflicts manually labels Oct 2, 2020
blx and others added 30 commits April 13, 2023 20:37
Co-authored-by: Richard Shin <rishin@paypal.com>
Co-authored-by: Debra Do <debdo@paypal.com>
Co-authored-by: Sara Vasquez <saravasquez@paypal.com>
Co-authored-by: Sara Vasquez <saravasquez@paypal.com>
Co-authored-by: Debra Do <debdo@paypal.com>
Co-authored-by: Debra Do <debdo@paypal.com>
Co-authored-by: Sara Vasquez <saravasquez@paypal.com>
Replace the deprecated `unittest.TestCase.assertRaisesRegexp()` method
with `assertRaisesRegex()`.  The former is no longer present in Python
3.12, while the latter is available since Python 3.2.

Replace the deprecated `imp.reload()` function with
`importlib.reload()`.  The former module is no longer present
in Python 3.12, while `importlib.reload()` is available since
Python 3.4.

With these changes, unit tests pass with Python 3.12.0.

Fixes #153
Fix missing comma in readme code sample
Fix test suite compatibility with Python 3.12 #154
Co-authored-by: Debra Do <debdo@paypal.com>
Co-authored-by: Sara Vasquez <saravasquez@paypal.com>
Co-authored-by: Debra Do <debdo@paypal.com>
Co-authored-by: Iris Booker <iris.booker@getbraintree.com>
Co-authored-by: Sara Vasquez <saravasquez@paypal.com>
Co-authored-by: Dani Poplin <dpoplin@paypal.com>
Co-authored-by: Sara Vasquez <saravasquez@paypal.com>
Co-authored-by: dakirby <dakirby@paypal.com>
Co-authored-by: Sara Vasquez <saravasquez@paypal.com>
Co-authored-by: Sara Vasquez <saravasquez@paypal.com>
Co-authored-by: Rajaram Gurumurthi <rajaram.gurumurthi@paypal.com>
Co-authored-by: Sara Vasquez <saravasquez@paypal.com>
Co-authored-by: klaguerre <klaguerre@paypal.com>
Co-authored-by: Rajaram Gurumurthi <rgurumurthi@paypal.com>
Co-authored-by: Kevin Laguerre <klaguerre@paypal.com>
Co-authored-by: Kevin Laguerre <klaguerre@paypal.com>
Co-authored-by: Rajaram Gurumurthi <rgurumurthi@paypal.com>
Co-authored-by: Rajaram Gurumurthi <rgurumurthi@paypal.com>
Co-authored-by: Rajaram Gurumurthi <rgurumurthi@paypal.com>
Co-authored-by: Kevin Laguerre <klaguerre@paypal.com>
Co-authored-by: Rajaram Gurumurthi <rgurumurthi@paypal.com>
Co-authored-by: Kevin Laguerre <klaguerre@paypal.com>
Co-authored-by: Kevin Laguerre <klaguerre@paypal.com>
Co-authored-by: Rajaram Gurumurthi <rgurumurthi@paypal.com>
Co-authored-by: Kevin Laguerre <klaguerre@paypal.com>
Co-authored-by: Sharon Pikovski <spikovski@paypal.com>
Co-authored-by: Kevin Laguerre <klaguerre@paypal.com>
Co-authored-by: David Johnson <djohnson14@paypal.com>
Co-authored-by: David Johnson <djohnson14@paypal.com>
Co-authored-by: David Johnson <djohnson14@paypal.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⤵️ pull merge-conflict Resolve conflicts manually

Projects

None yet

Development

Successfully merging this pull request may close these issues.