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

Fixes deleteCard when only CardReference is supplied. #67

Closed
wants to merge 4 commits into from

Conversation

runia1
Copy link

@runia1 runia1 commented Nov 10, 2016

fixes #62

@delatbabel
Copy link
Contributor

Spacing must be fixed before merging. Please adhere to PSR-2 standards.

@judgej
Copy link
Member

judgej commented Oct 8, 2017

I'm getting an XML error in AIMAbstractRequest line 17:

It is not yet possible to assign complex types to properties

$data->transactionRequest->refTransId = $this->getTransactionReference();

The transaction reference (the complex type) is:

object(Omnipay\AuthorizeNet\Model\TransactionReference)#2585 (4) {
  ["transId":"Omnipay\AuthorizeNet\Model\TransactionReference":private]=>
  string(10) "2220001902"
  ["approvalCode":"Omnipay\AuthorizeNet\Model\TransactionReference":private]=>
  string(6) "DMK100"
  ["card":"Omnipay\AuthorizeNet\Model\TransactionReference":private]=>
  NULL
  ["cardReference":"Omnipay\AuthorizeNet\Model\TransactionReference":private]=>
  object(Omnipay\AuthorizeNet\Model\CardReference)#2586 (3) {
    ["customerProfileId":"Omnipay\AuthorizeNet\Model\CardReference":private]=>
    string(8) "28972084"
    ["paymentProfileId":"Omnipay\AuthorizeNet\Model\CardReference":private]=>
    string(8) "26317840"
    ["shippingProfileId":"Omnipay\AuthorizeNet\Model\CardReference":private]=>
    string(8) "27057149"
  }
}

This is using any PHP 5.6 to 7.1

judgej added a commit to academe/omnipay-authorizenet that referenced this pull request Oct 8, 2017
@judgej judgej mentioned this pull request Oct 8, 2017
@runia1 runia1 closed this Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deleteCard with cardReference
3 participants