Skip to content

Commit

Permalink
Applies eileenmcnaughton#17 for non-redirect processors.
Browse files Browse the repository at this point in the history
  • Loading branch information
mlutfy committed Feb 5, 2019
1 parent 8b1f867 commit e9b5459
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CRM/Core/Payment/OmnipayMultiProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ public function doPayment(&$params, $component = 'contribute') {
->send();
}
if ($response->isSuccessful()) {
$this->cleanupClassForSerialization(TRUE);

if (method_exists($response, 'getCardReference') && $response->getCardReference()) {
$params['token'] = $response->getCardReference();
}
Expand Down

0 comments on commit e9b5459

Please sign in to comment.