PayPack logo
PayPack logo

All articles

TestingUpdated 20 hours ago

To confirm that your integration works correctly, simulate transactions in Stripe test mode.


Test Credit/Debit Cards

Use these test card numbers in Stripe test mode. For additional test cards, please see Stripe Doc: Test card numbers.

BrandNumberCVCDate
Visa4242 4242 4242 4242Any 3 digitsAny future date
Visa (debit)4000 0566 5566 5556Any 3 digitsAny future date
Mastercard5555 5555 5555 4444Any 3 digitsAny future date
American Express3782 8224 631 0005Any 3 digitsAny future date

Scenarios

Manual sync customer to Stripe

Go to a NetSuite Customer and click the button PayPack Sync.


Success Notification: Customer updated successfully.

Success-Notification-for-Customer-Sync.png

Successful-Customer-Sync.png


Add and View Cards on a NetSuite Customer

Success Criteria: Card added will display on list.


Charge Payment on Card in NetSuite

  • At the Customer Record → Success Criteria: Customer Deposit successfully created.
  • On a Sales Order → Success Criteria: Customer Deposit successfully created.
  • On an Invoice → Success Criteria: Customer Payment successfully created.

Success Criteria: Corresponding payment record successfully created.
  • (Optional) Prepayment Percentage → Success Criteria: Only percentage of corresponding transaction charged.
    • Global Percentage
    • Override Percentage on Customer, Sales Order, or Invoice
  • (Optional) Surcharge → Success Criteria: Separate Invoice is generated for Surcharge line item.
    • Flat Fee
    • Percentage Fee

Refund on a Credit Memo

Success Criteria: Customer Refund is successfully created.

Dispute Testing

The process for wanting to create test disputes will cause some delays. The test credit card that is used for disputes, will create the dispute and then evidence will need to be submitted on why you should win the dispute or not. Once you submit the evidence, the decision can take up to 3 months to be finalized (even in a test mode).

To ensure that you can create a test dispute and win the dispute right away, without waiting for months, proceed to follow the steps below: 

  1. Make the payment with the card 4000000000000259
  2. Counter the dispute, then:
    • Select any of the reasons and click next
    • Click on "Additional information" and give: winning_evidence
  3. Click submit evidence
These steps will allow dispute testing to be effective and efficient.


Terminal Testing

In Stripe's dashboard (test mode), you can create a simulated card reader.

Registering a Simulated Reader: To register a simulated reader for testing purposes, utilize the designated registration code: 

  • simulated-wpe: Creates a simulated WisePOS E reader object. 
  • simulated-s700: Creates a simulated Stripe S700 reader object. 

Important: These registration codes are exclusively for test environments and should not be used in production.

After registration, you should see the simulated terminal listed on the Terminal Readers page.

You learn more by visiting Stripe Docs: Connect to a reader.

When simulating test card scenarios, leverage Stripe's Terminal Test Cards. This includes testing brands such as Visa, Visa (debit), Mastercard, American Express, Discover, etc.

Was this article helpful?
Yes
No