Hide bancontact from PayPal buttons

This commit is contained in:
Emili Castells Guasch 2024-08-12 17:19:40 +02:00
parent 1628f86d4c
commit 86acc00f85
3 changed files with 16 additions and 8 deletions

View file

@ -73,8 +73,9 @@ class Orders {
$url = trailingslashit( $this->host ) . 'v2/checkout/orders';
$default_headers = array(
'Authorization' => 'Bearer ' . $bearer->token(),
'Content-Type' => 'application/json',
'Authorization' => 'Bearer ' . $bearer->token(),
'Content-Type' => 'application/json',
'PayPal-Request-Id' => uniqid( 'ppcp-', true ),
);
$headers = array_merge(
$default_headers,