We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fd379b commit fe1d628Copy full SHA for fe1d628
1 file changed
src/PayTech.php
@@ -28,7 +28,7 @@ public static function send(InvoiceItem $invoiceItem)
28
'ipn_url' => Config::getIpnUrl(),
29
'success_url' => Config::getIsMobile() ? Config::MOBILE_SUCCESS_URL : Config::getSuccessUrl(),
30
'cancel_url' => Config::getIsMobile() ? Config::MOBILE_CANCEL_URL : Config::getCancelUrl(),
31
- 'custom_field' => json_encode(CustomField::retrieve())
+ 'custom_field' => CustomField::retrieve()->toJSONString()
32
], []);
33
34
// @codeCoverageIgnoreStart
0 commit comments