// Needed to SEPA payments according to FR #6112: only ECOM_BILLTO_POSTAL_* fields are documented in Ogone cookbook:
if ( $this->getAccountParam( 'giveecomparams' ) ) {
$requestParams['ECOM_BILLTO_COMPANY'] = cbIsoUtf_substr( $paymentBasket->business, 0, 50 );
$requestParams['ECOM_BILLTO_POSTAL_NAME_PREFIX'] = CBPTXT::T( 'M/Mme' ); // Field mandatory but limited to 5 characters!
$requestParams['ECOM_BILLTO_POSTAL_NAME_LAST'] = cbIsoUtf_substr( $paymentBasket->last_name, 0, 35 );
$requestParams['ECOM_BILLTO_POSTAL_NAME_FIRST'] = cbIsoUtf_substr( $paymentBasket->first_name, 0, 35 );
// $requestParams['ECOM_BILLTO_POSTAL_STREET_NUMBER'] = '';
$requestParams['ECOM_BILLTO_POSTAL_STREET_LINE1'] = cbIsoUtf_substr( $paymentBasket->address_street, 0, 35 );
// $requestParams['ECOM_BILLTO_POSTAL_STREET_LINE2'] = '';
$requestParams['ECOM_BILLTO_POSTAL_POSTALCODE'] = cbIsoUtf_substr( $paymentBasket->address_zip, 0, 10 );
$requestParams['ECOM_BILLTO_POSTAL_CITY'] = cbIsoUtf_substr( $paymentBasket->address_city, 0, 25 );
$requestParams['ECOM_BILLTO_POSTAL_COUNTRYCODE'] = cbIsoUtf_substr( $this->countryToLetters( $paymentBasket->address_country, 2 ), 0, 2 );
$requestParams['ECOM_BILLTO_TELECOM_PHONE_NUMBER'] = cbIsoUtf_substr( $paymentBasket->contact_phone, 0, 20 );
$requestParams['ECOM_BILLTO_TELECOM_MOBILE_NUMBER'] = cbIsoUtf_substr( $paymentBasket->contact_phone, 0, 20 );
$requestParams['REF_CUSTOMERID'] = cbIsoUtf_substr( $paymentBasket->user_id, 0, 20 );
}
Please Log in to join the conversation.
Please Log in to join the conversation.
Yes, I'm ok, thanks, I think that I have answered already to your request for Slimpay, and my opinion didn't change, here publicly: We are happy if SlimPay wants to develop a gateway for CBSubs. But as it does not have an international popular reach...
I understand this and Slimpay understand this.we can't put our own development resources to develop a gateway for it at this time.
Regarding Ogone and ECOM_BILLTO_... parameters, nothing did change in Ogone in our latest builds (last change was Added new SHA-OUT fields DEVICEID and PAYIDSUB, which was 4 months ago!, Just rechecked). Please recheck your Ogone gateway setting "Fill-in ECOM_BILLTO_* address/phone for SEPA", and any other settings that may affect the field for company in the invoice address.
$requestParams['ECOM_BILLTO_COMPANY'] = cbIsoUtf_substr( $paymentBasket->business, 0, 50 );
$requestParams['ECOM_BILLTO_COMPANY'] = cbIsoUtf_substr( $paymentBasket->payer_business_name, 0, 50 );
Please Log in to join the conversation.
Please Log in to join the conversation.
Also please check with other major PSPs already supported by CBSubs what their updated plans are for adding the features you wish. E.g. some have a "Pay later" and "Bill me" payment options
Please Log in to join the conversation.
Please Log in to join the conversation.