PayPal Create Order Service Error : PAYMENT_NOT_APPROVED_FOR_EXECUTION

38 Views Asked by At

I am trying to create an order service in Paypal through CyberSource integration. I am always getting the following error.

PAYMENT_NOT_APPROVED_FOR_EXECUTION

I am using the following XML request to create order service.

<?xml version="1.0" encoding="utf-8"?>
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.162">
<merchantID>mid1235</merchantID>
<merchantReferenceCode>1234</merchantReferenceCode>

<purchaseTotals>
    <currency>USD</currency>
    <grandTotalAmount>5.00</grandTotalAmount>
</purchaseTotals>
<apPaymentType>PPL</apPaymentType>
<ap>
    <payerID>************</payerID>
</ap>
<apOrderService run="true">
    <sessionsRequestID>6922833788036027603010</sessionsRequestID>
</apOrderService>
</requestMessage>
0

There are 0 best solutions below