globalpayments / php-sdk

GNU General Public License v2.0
49 stars 66 forks source link

HPP Additional Fields #109

Closed steve-ico3 closed 2 years ago

steve-ico3 commented 2 years ago

Hi,

I'm looking to send additional fields to the HPP

https://developer.globalpay.com/ecommerce/hosted-solution/hpp-address-capture#hpp-additional-fields

But I can't see any way to do this via the SDK, am I missing it or is this functionality not there?

I can see the form example on that page but I can't see a way do achieve the same thing via the SDK,

I'm using the latest version (5.0.0)

cristina-nechita commented 2 years ago

Hi,

You can set on HostedPaymentData object "addressCapture" for "HPP_CAPTURE_ADDRESS" and "notReturnAddress" for "HPP_DO_NOT_RETURN_ADDRESS".

steve-ico3 commented 2 years ago

Thank you