Invalid credit card type.
-
I’m getting a validation error. It looks like it’s passing “card” as the CC type rather than “mc” or “discover.”
{"name":"VALIDATION_ERROR","details":[{"field":"payer.funding_instruments[0].credit_card.type","issue":"Credit card type must be visa, mastercard, amex, jcb, or discover."}],"message":"Invalid request. See details.","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"268aa8b1ba36"}
01-02-2019 @ 20:07:34 - PayPal\Api\Payment Object ( [_propMap:PayPal\Common\PayPalModel:private] => Array ( [intent] => sale [payer] => PayPal\Api\Payer Object ( [_propMap:PayPal\Common\PayPalModel:private] => Array ( [payment_method] => credit_card [funding_instruments] => Array ( [0] => PayPal\Api\FundingInstrument Object ( [_propMap:PayPal\Common\PayPalModel:private] => Array ( [credit_card] => PayPal\Api\CreditCard Object ( [_propMap:PayPal\Common\PayPalModel:private] => Array ( [type] => Card [number] => 55240000000000 [expire_month] => 00 [expire_year] => 2000 [cvv2] => 000 [first_name] => XXXX [last_name] => XXXXX )
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Invalid credit card type.’ is closed to new replies.