File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
src/Omnipay/MultiSafepay/Message
tests/Omnipay/MultiSafepay/Message Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -161,11 +161,7 @@ public function send()
161
161
protected function generateSignature ()
162
162
{
163
163
return md5 (
164
- $ this ->getAmountInteger ().
165
- $ this ->getCurrency ().
166
- $ this ->getAccountId ().
167
- $ this ->getSiteId ().
168
- $ this ->getTransactionId ()
164
+ $ this ->getAmount ().$ this ->getCurrency ().$ this ->getAccountId ().$ this ->getSiteId ().$ this ->getTransactionId ()
169
165
);
170
166
}
171
167
}
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public function testGenerateSignature()
135
135
$ method ->setAccessible (true );
136
136
137
137
$ signature = $ method ->invoke ($ this ->request );
138
- $ this ->assertEquals ('ad447bab87b8597853432c891e341db1 ' , $ signature );
138
+ $ this ->assertEquals ('bb886caff589f17e81b21097a39e47c2 ' , $ signature );
139
139
}
140
140
141
141
public function allDataProvider ()
@@ -178,7 +178,7 @@ public function allDataProvider()
178
178
<var2>extra 2</var2>
179
179
<var3>extra 3</var3>
180
180
</transaction>
181
- <signature>ad447bab87b8597853432c891e341db1 </signature>
181
+ <signature>bb886caff589f17e81b21097a39e47c2 </signature>
182
182
</redirecttransaction>
183
183
184
184
EOF ;
@@ -225,7 +225,7 @@ public function noIssuerDataProvider()
225
225
<var2>extra 2</var2>
226
226
<var3>extra 3</var3>
227
227
</transaction>
228
- <signature>ad447bab87b8597853432c891e341db1 </signature>
228
+ <signature>bb886caff589f17e81b21097a39e47c2 </signature>
229
229
</redirecttransaction>
230
230
231
231
EOF ;
You can’t perform that action at this time.
0 commit comments