Updated Credit Cards in Samples to fix 500 Exceptions

- Replaced overused credit cards with new ones
- More could be generated for sandbox testing at https://ppmts.custhelp.com/app/answers/detail/a_id/750
This commit is contained in:
Jay Patel
2015-02-12 15:02:24 -06:00
parent 4d416a4474
commit d613361e69
7 changed files with 2319 additions and 82 deletions

View File

@@ -7,7 +7,7 @@ API used: POST /v1/vault/credit-card</p></div></div><div class="code"><div class
<p>A resource representing a credit card that is
to be stored with PayPal.</p></div></div><div class="code"><div class="wrapper"><span class="hljs-variable">$card</span> = <span class="hljs-keyword">new</span> CreditCard();
<span class="hljs-variable">$card</span>-&gt;setType(<span class="hljs-string">"visa"</span>)
-&gt;setNumber(<span class="hljs-string">"4417119669820331"</span>)
-&gt;setNumber(<span class="hljs-string">"4917912523797702"</span>)
-&gt;setExpireMonth(<span class="hljs-string">"11"</span>)
-&gt;setExpireYear(<span class="hljs-string">"2019"</span>)
-&gt;setCvv2(<span class="hljs-string">"012"</span>)