1. Home
  2. Knowledge Base
  3. Swish
  4. Add CURL options in Swish

Add CURL options in Swish

In some cases there is a need to add options to CURL in order for payments to work

<?php

function swish_additional_curlopt($curlopt)
{
returnarray_merge($curlopt, array(
CURLOPT_SSL_CIPHER_LIST => 'DEFAULT@SECLEVEL=1',
));
}

add_filter('swish_additional_curlopt', 'swish_additional_curlopt');
Was this article helpful?

Related Articles

Leave a Reply

Your email address will not be published.

Need Support?

Can't find the answer you're looking for?
Contact Support