As I mentioned in the email back to you (but also stating here for other viewers) the problem is that your item total is going into the negative and PayPal will not accept that.
You’ve got the following:
Shipping = 18.00
Item 1 = 50.00
Item 2 (discount) = -64.60
This gives us a grand total of 3.40, however, the item amount sent to PayPal is -14.60 and they will not accept this.
Instead, you’ll need to make the discount code so that it provides free shipping and then adjusts the discount accordingly so you’d end up with this:
Shipping = 0.00
Item 1 = 50.00
Item 2 (discount) = -46.60
This gives you an item total of 3.40 and PayPal will accept that.
Not ideal, I know, but PayPal does not provide an actual DISCOUNT parameter in their API. That’s why we have to send it as a line item and this particular problem can arise sometimes because of that.