Skip to content

Commit

Permalink
Add support for Customer Vault operations
Browse files Browse the repository at this point in the history
  • Loading branch information
funkjedi authored Oct 10, 2018
1 parent 2c1b345 commit 6529cfb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Message/ThreeStepRedirectAuthRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ public function getData()

if ($this->getCardReference()) {
$data['customer-vault-id'] = $this->getCardReference();

// Customer Vault operations can be completed using a single Direct XML request to the gateway.
// None of these operations submit sensitive payment information and theorefore do not require
// any Three Step Redirect functionlity.
unset($data['redirect-url']);
}
else {
$data = array_merge(
Expand Down

0 comments on commit 6529cfb

Please sign in to comment.