Describe your bug or feature request.

For certain payment gateways, e.g. Authorize.Net, subsequent transactions with reusable payment methods require passing the customer's payment gateway ID alongside the payment method's ID. E.g. Authorize.Net subscription creation.

PaymentGatewayBase::getRemoteCustomerId() is available as a protected method within payment gateways but would require either extending a payment gateway or changing its plugin configuration to a class that provides a public method to use this logic. There is a legitimate use case for accessing this data from the payment gateway's PHP API. This data is not particularly sensitive, unique or opaque in the context of the gateway, since it is stored as a field on the user. (This field is added by commerce_payment as default installation config.)

Issue fork commerce-3244794

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bradjones1 created an issue. See original summary.

bradjones1’s picture

Issue summary: View changes
Status: Active » Needs review

  • jsacksick committed 8f48475 on 8.x-2.x authored by bradjones1
    Issue #3244794 by bradjones1: Change visibility of PaymentGatewayBase::...
jsacksick’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.