Test Venmo in sandbox

DocsCurrent

Last updated: Mar 6th, 12:03am

Test the Pay with Venmo feature in the sandbox environment before going live.


Getting started

  1. Start by following the instructions in the PayPal sandbox testing guide.
  2. During the test phase, use the PayPal sandbox endpoints and your PayPal sandbox account details in each PayPal API request that you make.
  3. Simulate the Venmo button in the PayPal sandbox, and add the buyer-country=US parameter to your JS SDK code.

Use cases

You can test the Venmo experience on a desktop or mobile web browser. You can expect the following experience in the sandbox:

  • If you are testing on a desktop, you will experience the Venmo web login flow.
  • If you are testing on the mobile web with the Venmo app installed, you will experience the Venmo app-switch flow.
  • If you are testing on the mobile web without the Venmo app installed, you will experience the Venmo web login flow.

Desktop web experience


Mobile web experience with Venmo app installed

Mobile,web,experience,with,Venmo,app,installed


Mobile web experience with Venmo app not installed

Mobile,web,experience,with,Venmo,app,not,installed

Venmo features supported in sandbox

The following Venmo features are supported for testing in the sandbox environment:

  • App-switch checkout flow
  • Web login based checkout flow suitable for non-US developer testing
  • One-time checkout
  • Vault setup
  • RISK | INSUFICIENT_FUNDS
  • RISK | ACCOUNT_CLOSED
  • RISK | ACCOUNT_FROZEN
  • RISK | SUSPECTED_FRAUD
  • RISK | GENERIC_DECLINE


Test error scenarios

You can test certain error scenarios in the sandbox using the specific amounts in the following table. If any other amount value is used, responses will result in a SUCCESS.


Amount Error scenario
12.34 INSUFFICIENT_FUNDS
21.43 ACCOUNT_CLOSED
11.45 ACCOUNT_FROZEN
10.23 SUSPECTED_FRAUD
13.42 GENERIC_DECLINE
Other SUCCESS


Test Venmo consumer accounts

Ensure you log in with a password, not a one-time password, when simulating the Venmo web flow in sandbox.

Login and user handle Password First name Last name
Sandbox-test-user1 P@yW1thV3nm0 PwV TesterOne
Sandbox-test-user2 P@yW1thV3nm0 PwV TesterTwo
Sandbox-test-user3 P@yW1thV3nm0 PwV TesterThree

Venmo features not supported in sandbox

The following Venmo features are not supported for testing in the sandbox environment:

  • Vault subsequent purchases
  • Self-service test account creation
  • Post-purchase Venmo experience with feed and ledger
  • Settlement and disbursement
  • Disputes
  • Merchant reporting

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more