Purpose

 

This method is used by Merchant to get the current status of a previously executed payment. The myPOS Checkout API will return an XML with detailed information about a specific OrderID. This method is intended to be utilized by the Merchant in his website back-end. The Merchant could decide whether or not to use this method.

 


Method Properties

 

Property

Typical value

Type

Required

Description

 OrderID  201203319999999 String  YES  Placeholder for the merchant. Used to put some data that will help the merchant to refer payments to orders. Up to 255 characters.
 OutputFormat  XML String  NO  The output format of data. The property can be “XML” or “JSON”. If it is not specified in the request, the default value is “XML”.

 


Response Properties

 

Property

Typical value

Type

Required

Description

OrderID  201203319999999 String  YES  Placeholder for the merchant. Used to put some data that will help the merchant to refer payments to orders. Up to 255 characters.
PaymentMethod 1 N(1) NO (Conditional) If a property is not sent, the customer is redirected to a myPOS Hosted payment page with selection of all payment methods myPOS Checkout supports;

1 – Redirects the customer to a card-only checkout.
2 – Redirects the customer to iDEAL-only checkout.

PaymentStatus 1 N(1) NO (Conditional) Returned when PaymentMethod = 2 - iDEAL
1 – Successful payment
2 – Pending payment
3 – Unsuccessful payment

 


Example Of The Request

Request:
    [IPCmethod] => IPCGetPaymentStatus
    [IPCVersion] => 1.4
    [SID] => 95357
    [KeyIndex] => 1
    [walletnumber] => 40590833956
    [OrderID] => 1537945792
    [OutputFormat] => xml
    [Signature] => ENfm3uk62FEccNisZs5nSm0ZpsYTb4RLFkpjoV1wVGfbu/jH1V47s4RRW/vV7p7zEbj3om6TIMkpj7rD4pEqeB43lM+jtG+bq0tJuBo3iiNSdV2KhesNJPkjbc5RDzXf7mMhcFaELs2QhR1brs44UFEirb1WSJ4Sr6UOqQtcfsQ=

 

 

 

Example Of The XML Response

 

<ipc_response>
<IPCMethod>IPCGetPaymentStatus</IPCMethod>
<OrderID>47106</OrderID>
<PaymentMethod>2</PaymentMethod>
<PaymentStatus>1</PaymentStatus>
<Amount>10</Amount>
<Currency>EUR</Currency>
<IPC_Trnref>108569</IPC_Trnref>
<DateTime>2016-11-08 17:28:58</DateTime>
<Status>0</Status>
<StatusMsg>Success</StatusMsg>
<Signature>ZstGmOJn+DFmOJRIjz/yt6bkrqdOm3S/t/t+PafwMVONzAHz76hRDf5Dv1qBTlvMFOBpgNjFknzFk3N8qcfF7/TMc/1SiJbolBqMRM4FwmKexrsXP1OKuL0zIYuJioZvMgR41XaxxZkHgn92qSA6oLUF79ktXH7wI4ysjFaVYvg=</Signature>
</ipc_response>