Testing

To confirm that your integration works correctly, simulate transactions in Stripe test mode (legacy) or Stripe sandbox. Follow the Stripe Doc: Managed sandboxes to create and access a sandbox account.


Test Credit/Debit Cards

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


Scenarios

Manual sync customer to Stripe

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

Success Notification: Customer updated successfully.

Successful Customer PayPack Sync.png
NetSuite Customer - Stripe Customer ID.png

Add and View Cards on a NetSuite Customer

Success Criteria: Card added will display on list.

NetSuite Customer PayPack Tab.png
NetSuite Customer - PayPack Card List Tab.png

Charge Payment on Card in NetSuite

  • At the Customer Record → Success Criteria: Customer Deposit successfully created.
  • On a Quote/Estimate → 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.
  • On an Invoice Group → 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.

Stripe Terminal Card Readers.png

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

Stripe Terminal Card Readers List Page.png

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?
0 out of 0 found this helpful

More resources