<p>Have you tried looking at <code>commerce.log</code> in <code>storage/logs</code>? (With Craft 3/Commerce 2 there is no commerce.log - you'll need to comb through the general <code>web.log</code>)</p>

CC BY-SA 4.0
2019-09-26T11:04:30.777Z
2019-09-26T16:06:22.350Z
2019-09-26T16:06:22.350Z
dmatthams
<p>I am trying to integrate PayPal Pro into Craft Commerce, I have my API details added to the payment gateway and I have disabled test mode. I know these keys work as they have been used before.</p>

<p>On checkout, when I have PayPal Pro selected as a payment method, I receive an error "Invalid payment or order. Please review." when I press checkout.</p>

<p>I have two questions;</p>

<ol>
<li><p>Could anyone give me an idea as to why this payment gateway isn't
working but the other payment gateways are working fine? Maybe I'm making a common mistake somewhere.</p></li>
<li><p>Are there any ways of dumping out errors, the flash errors don't seem to provide any detail which is making debugging this issue difficult.</p></li>
</ol>

<p>Thanks.</p>

<craft3><plugin-craftcommerce><craft-pro><payment-methods>
PayPal Pro In Craft Commerce
# PayPal Pro In Craft Commerce

(Asked by: username_0 on 2019-09-24)

I am trying to integrate PayPal Pro into Craft Commerce, I have my API details added to the payment gateway and I have disabled test mode. I know these keys work as they have been used before.

On checkout, when I have PayPal Pro selected as a payment method, I receive an error "Invalid payment or order. Please review." when I press checkout.

I have two questions;

1. Could anyone give me an idea as to why this payment gateway isn't
   working but the other payment gateways are working fine? Maybe I'm making a common mistake somewhere.
2. Are there any ways of dumping out errors, the flash errors don't seem to provide any detail which is making debugging this issue difficult.

Thanks.

**Tags:** craft3, plugin-craftcommerce, craft-pro, payment-methods

---

## 1 answers

### Answer by username_1 on 2019-09-26. Score: 1

Have you tried looking at `commerce.log` in `storage/logs`? (With Craft 3/Commerce 2 there is no commerce.log - you'll need to comb through the general `web.log`)


---

