Closed rat4m3n closed 11 years ago
there some L_PAYMENTREQUEST_XXX fields added (see here https://github.com/Payum/PaypalExpressCheckoutNvp/blob/master/src/Payum/Paypal/ExpressCheckout/Nvp/PaymentInstruction.php#L153) but not this one? What this field is used for?
This is to set category for the item:
Paypal docs:
Make sure L_PAYMENTREQUEST_0_ITEMCATEGORY is set to "Digital" for every item in the DoExpressCheckoutPayment request as well as SetExpressCheckout. Failing to do so will result in incorrect fee calculations.
So we would need a setter setLPaymentrequestCategory or something for this and add this property to be sent to paypal to handle those i guess...
Having full instruction constructed I have noticed 2 more:
// Set REQCONFIRMSHIPPING to 0
// Set NOSHIPPING to 1
Those don't seem to be mandatory but can be set for Digital Express Checkout Method.
Once we have them added we state 'Digital Goods - Express Checkout' compatibility in docs.
close in favor #7
Hi there,
Just a quick one... Do we have any handler for 'L_PAYMENTREQUEST_0_ITEMCATEGORYn' ?
I am happy to add this if we don't just wonder if I am not simply missing it.