ePages 7.28.0 - DE_EPAGES/PayPalPlus/API/Webservice/OnBoarding/Service.pm

Package DE_EPAGES::PayPalPlus::API::Webservice::OnBoarding::Service

class to handle the OnBoarding for PayPal plus

Functions

doRequest
getOnboardingURL
new
verifyResponse

doRequest

does a request to epagesj in order to fetch the onboarding Url

Syntax
doRequest( $PaymentMethodPayPalPlus, $ReturlUrl );
Input
$PaymentMethodPayPalPlus (DE_EPAGES::PayPalPlus::API::Object::PaymentMethodPayPalPlus)
payment method
$ReturlUrl (String)
url of epages wher the merchant lands after onboarding at paypal

getOnboardingURL

get the onboarding Url provided via webservice from paypal call doRequest first

Syntax
getOnboardingURL( );
Return
(string)
onboarding url

new

constructor

Syntax
new( );
Return
$self (DE_EPAGES::PayPalPlus::API::Webservice::ExecutePayment::Service)
self

verifyResponse

verifies response from webservice

Syntax
verifyResponse( $hResponse );
Input
$hResponse (refhash)
response from webservice
Return
(refhash)
Verified response