PayPack logo
PayPack logo

All articles

TestingUpdated 3 days ago

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

Test Credit/Debit Cards

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

  1. Manual sync customer to Stripe

    Success Notification: Customer updated successfully.

    Success-Notification-for-Customer-Sync.png


    Successful-Customer-Sync.png


  2. Add and View Cards on a NetSuite Customer

    Success Criteria: Card added will display on list.
    Add-Card-to-Customer.png


    Get-Card-List.png

  3. 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.

  4. 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

  5. Refund Payments Page

    Success Criteria: Credit Memo and/or Customer Refund is successfully created.
    • Ensure your PayPack refund script is scheduled to run every 15 minutes.

  6. Bulk Invoice Charge Page

    Success Criteria: Customer Payments are 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.
Was this article helpful?
Yes
No