Skip to content

Commit

Permalink
Fix: Wrong parameter keys for P and Z commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrodz authored Dec 9, 2020
1 parent fe15cb4 commit d026a2e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/WeAreDe/TbcPay/TbcPayProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,9 @@ public function capture_and_save( $biller_client_id, $expiry )
'language' => $this->language,
'biller' => $this->biller,
'biller_client_id' => $biller_client_id,
'expiry' => $expiry, // MMYY
'perspayee_expiry' => $expiry, // MMYY
'perspayee_gen' => 1,
'msg_type' => 'SMS',
);

if ($this->charge_ertguli_points) {
Expand All @@ -437,7 +439,9 @@ public function save( $biller_client_id, $expiry )
'description' => $this->description,
'language' => $this->language,
'biller_client_id' => $biller_client_id,
'expiry' => $expiry, // MMYY.
'perspayee_expiry' => $expiry, // MMYY
'perspayee_gen' => 1,
'msg_type' => 'AUTH',
);

return $this->process($post_fields);
Expand Down

0 comments on commit d026a2e

Please sign in to comment.