File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
2- "name" : " zerosdev /tripay-sdk-php" ,
2+ "name" : " aznidev /tripay-sdk-php" ,
33 "description" : " Unofficial TriPay.co.id Integration Kit for PHP" ,
44 "type" : " library" ,
55 "require" : {
2121 "ZerosDev\\ TriPay\\ " : " src/"
2222 }
2323 }
24- }
24+ }
Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ public function __construct(...$args)
120120
121121 $ this ->merchantCode = (string ) is_array ($ args [0 ]) ? $ args [0 ]['merchant_code ' ] : $ args [0 ];
122122 $ this ->apiKey = (string ) is_array ($ args [0 ]) ? $ args [0 ]['api_key ' ] : $ args [1 ];
123- $ this ->privateKey = (string ) is_array ($ args [0 ]) ? $ args [0 ]['private_key ' ] : $ args [1 ];
124- $ this ->mode = (string ) is_array ($ args [0 ]) ? $ args [0 ]['mode ' ] : $ args [2 ];
123+ $ this ->privateKey = (string ) is_array ($ args [0 ]) ? $ args [0 ]['private_key ' ] : $ args [2 ];
124+ $ this ->mode = (string ) is_array ($ args [0 ]) ? $ args [0 ]['mode ' ] : $ args [3 ];
125125
126126 $ baseUri = ($ this ->mode == Constant::MODE_DEVELOPMENT )
127127 ? Constant::URL_DEVELOPMENT
You can’t perform that action at this time.
0 commit comments