Skip to content

Commit

Permalink
repair error json encode when back from bank
Browse files Browse the repository at this point in the history
  • Loading branch information
yeganehha authored Dec 27, 2018
1 parent d348396 commit 19a0a9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gateways/payping.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ public function verify() {

$tokenCode = ( isset( $edd_options[ 'payping_tokenCode' ] ) ? $edd_options[ 'payping_tokenCode' ] : '' );

$data = json_encode( array(
$data = array(
'amount' => $amount,
'refId' => $refid
) );
) ;

try {
$curl = curl_init();
Expand Down

0 comments on commit 19a0a9c

Please sign in to comment.