Overview
  • Namespace
  • Class

Namespaces

  • PayPal
    • Api
    • Auth
    • Cache
    • Common
    • Converter
    • Core
    • Exception
    • Handler
    • Log
    • Rest
    • Security
    • Transport
    • Validation

Classes

  • Address
  • Agreement
  • AgreementDetails
  • AgreementStateDescriptor
  • AgreementTransaction
  • AgreementTransactions
  • AlternatePayment
  • Amount
  • Authorization
  • BankAccount
  • BankAccountsList
  • BankToken
  • BaseAddress
  • Billing
  • BillingAgreementToken
  • BillingInfo
  • CancelNotification
  • Capture
  • CarrierAccount
  • CarrierAccountToken
  • CartBase
  • ChargeModel
  • Cost
  • CountryCode
  • CreateProfileResponse
  • Credit
  • CreditCard
  • CreditCardHistory
  • CreditCardList
  • CreditCardToken
  • CreditFinancingOffered
  • Currency
  • CurrencyConversion
  • CustomAmount
  • DetailedRefund
  • Details
  • Error
  • ErrorDetails
  • ExtendedBankAccount
  • ExternalFunding
  • FileAttachment
  • FlowConfig
  • FmfDetails
  • FundingDetail
  • FundingInstrument
  • FundingOption
  • FundingSource
  • FuturePayment
  • HyperSchema
  • Image
  • Incentive
  • InputFields
  • InstallmentInfo
  • InstallmentOption
  • Invoice
  • InvoiceAddress
  • InvoiceItem
  • InvoiceNumber
  • InvoiceSearchResponse
  • Item
  • ItemList
  • Links
  • Measurement
  • MerchantInfo
  • MerchantPreferences
  • Metadata
  • NameValuePair
  • Notification
  • OpenIdAddress
  • OpenIdError
  • OpenIdSession
  • OpenIdTokeninfo
  • OpenIdUserinfo
  • Order
  • OverrideChargeModel
  • Participant
  • Patch
  • PatchRequest
  • Payee
  • Payer
  • PayerInfo
  • Payment
  • PaymentCard
  • PaymentCardToken
  • PaymentDefinition
  • PaymentDetail
  • PaymentExecution
  • PaymentHistory
  • PaymentInstruction
  • PaymentOptions
  • PaymentSummary
  • PaymentTerm
  • Payout
  • PayoutBatch
  • PayoutBatchHeader
  • PayoutItem
  • PayoutItemDetails
  • PayoutSenderBatchHeader
  • Phone
  • Plan
  • PlanList
  • PotentialPayerInfo
  • Presentation
  • PrivateLabelCard
  • ProcessorResponse
  • RecipientBankingInstruction
  • RedirectUrls
  • Refund
  • RefundDetail
  • RefundRequest
  • RelatedResources
  • Sale
  • Search
  • ShippingAddress
  • ShippingCost
  • ShippingInfo
  • Tax
  • Template
  • TemplateData
  • Templates
  • TemplateSettings
  • TemplateSettingsMetadata
  • Terms
  • Transaction
  • TransactionBase
  • Transactions
  • VerifyWebhookSignature
  • VerifyWebhookSignatureResponse
  • Webhook
  • WebhookEvent
  • WebhookEventList
  • WebhookEventType
  • WebhookEventTypeList
  • WebhookList
  • WebProfile

Class ProcessorResponse

Class ProcessorResponse

Collection of payment response related fields returned from a payment request

PayPal\Common\PayPalModel
Extended by PayPal\Api\ProcessorResponse
Namespace: PayPal\Api
Package: PayPal\Api
Located at PayPal/Api/ProcessorResponse.php

Methods summary

public
# setResponseCode( string $response_code )

Paypal normalized response code, generated from the processor's specific response code

Paypal normalized response code, generated from the processor's specific response code

Parameters

$response_code

Returns


$this
public string
# getResponseCode( )

Paypal normalized response code, generated from the processor's specific response code

Paypal normalized response code, generated from the processor's specific response code

Returns

string
public
# setAvsCode( string $avs_code )

Address Verification System response code. https://developer.paypal.com/webapps/developer/docs/classic/api/AVSResponseCodes/

Address Verification System response code. https://developer.paypal.com/webapps/developer/docs/classic/api/AVSResponseCodes/

Parameters

$avs_code

Returns


$this
public string
# getAvsCode( )

Address Verification System response code. https://developer.paypal.com/webapps/developer/docs/classic/api/AVSResponseCodes/

Address Verification System response code. https://developer.paypal.com/webapps/developer/docs/classic/api/AVSResponseCodes/

Returns

string
public
# setCvvCode( string $cvv_code )

CVV System response code. https://developer.paypal.com/webapps/developer/docs/classic/api/AVSResponseCodes/

CVV System response code. https://developer.paypal.com/webapps/developer/docs/classic/api/AVSResponseCodes/

Parameters

$cvv_code

Returns


$this
public string
# getCvvCode( )

CVV System response code. https://developer.paypal.com/webapps/developer/docs/classic/api/AVSResponseCodes/

CVV System response code. https://developer.paypal.com/webapps/developer/docs/classic/api/AVSResponseCodes/

Returns

string
public
# setAdviceCode( string $advice_code )

Provides merchant advice on how to handle declines related to recurring payments Valid Values: ["01_NEW_ACCOUNT_INFORMATION", "02_TRY_AGAIN_LATER", "02_STOP_SPECIFIC_PAYMENT", "03_DO_NOT_TRY_AGAIN", "03_REVOKE_AUTHORIZATION_FOR_FUTURE_PAYMENT", "21_DO_NOT_TRY_AGAIN_CARD_HOLDER_CANCELLED_RECURRRING_CHARGE", "21_CANCEL_ALL_RECURRING_PAYMENTS"]

Provides merchant advice on how to handle declines related to recurring payments Valid Values: ["01_NEW_ACCOUNT_INFORMATION", "02_TRY_AGAIN_LATER", "02_STOP_SPECIFIC_PAYMENT", "03_DO_NOT_TRY_AGAIN", "03_REVOKE_AUTHORIZATION_FOR_FUTURE_PAYMENT", "21_DO_NOT_TRY_AGAIN_CARD_HOLDER_CANCELLED_RECURRRING_CHARGE", "21_CANCEL_ALL_RECURRING_PAYMENTS"]

Parameters

$advice_code

Returns


$this
public string
# getAdviceCode( )

Provides merchant advice on how to handle declines related to recurring payments

Provides merchant advice on how to handle declines related to recurring payments

Returns

string
public
# setEciSubmitted( string $eci_submitted )

Response back from the authorization. Provided by the processor

Response back from the authorization. Provided by the processor

Parameters

$eci_submitted

Returns


$this
public string
# getEciSubmitted( )

Response back from the authorization. Provided by the processor

Response back from the authorization. Provided by the processor

Returns

string
public
# setVpas( string $vpas )

Visa Payer Authentication Service status. Will be return from processor

Visa Payer Authentication Service status. Will be return from processor

Parameters

$vpas

Returns


$this
public string
# getVpas( )

Visa Payer Authentication Service status. Will be return from processor

Visa Payer Authentication Service status. Will be return from processor

Returns

string

Methods inherited from PayPal\Common\PayPalModel

__construct(), __get(), __isset(), __set(), __toString(), __unset(), fromArray(), fromJson(), getList(), setCredential(), toArray(), toJSON()

Properties summary

Properties inherited from PayPal\Common\PayPalModel

$credential

API documentation generated by ApiGen