Closed (fixed)
Project:
Commerce PayPal
Version:
8.x-1.x-dev
Component:
PayPal Checkout
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2020 at 15:05 UTC
Updated:
8 Oct 2020 at 13:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
safallia joseph commentedThe attached patch fixes the issue by removing special characters from credit card brand name.
Comment #3
jsacksick commentedWe probably need to map the credit card type we get from Paypal.
Comment #4
jsacksick commentedThis is weird, because if I look at the possible card "brands", PayPal lists the following (https://developer.paypal.com/docs/api/orders/v2/#definition-card_brand)
MASTERCARD is listed there, and not "master_card".
Comment #6
jsacksick commentedReproduced the bug, and decided to go with your fix. The problem is that the PayPal documentation is wrong and doesn't indicate the right credit card types to expect...