thephpleague / omnipay-paypal

PayPal driver for the Omnipay PHP payment processing library
MIT License
299 stars 175 forks source link

Set BN (Build Notation) Code for REST API #216

Open ghost opened 5 years ago

ghost commented 5 years ago

Hi. I am trying to implement PayPal REST Gateway into the website with a BN code. PayPal Checkout Express and Pro Gateway can use ‘setButtonSource’ to set the partner ID. But there is no methods for REST.

According to the PayPal Payment REST API (https://developer.paypal.com/docs/integration/direct/payments/), it is able to set BN code by adding an attribute ‘PayPal-Partner-Attribution-Id’ to request header.

Would I know is there a way to do it?

Thanks for viewing this issue and look forward to your response.