Forum

Thread tagged as: Question, Shop

It's just the nature of my client's business, they spend a lot of time in paypal as customers pay deposits which then get refunded. So as they are in there every day it would be useful to have as much information available as possible.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok. The PayPal driver doesn't support metadata in the same way. It looks like there is a mechanism for setting custom data, but that's not implemented in Shop currently.

Is there any way to customise the "Order #X" that does get passed from Perch to Paypal?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, that's the description option.

Like this you mean?

perch_shop_checkout('paypal-express', [
'return_url' => $return_url,
'cancel_url' => $cancel_url,
'description' => 'whatever i want',
],
Drew McLellan

Drew McLellan 2638 points
Perch Support

Is that not working?

No it doesn't work.

Drew McLellan

Drew McLellan 2638 points
Perch Support

How about when you confirm the payment?

No, afraid not. In Paypal I get:

Order Description:  Order #29
Invoice ID: 29
Date:   10 Mar 2017
Time:   02:47:34 GMT
Status: Completed  

Payment Type: Instant
Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, so it looks like the answer is no.

Thanks anyway. Is this something that will be considered for the next update of Shop?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Not for the next update, but for some possible future update sure.