Testing the AltaPay Salesforce CC Plugin

In general, the merchant can use any card number when testing against the test gateway and they will be accepted. Designated card numbers to trigger different scenarios (3D Secure, failures etc.) can be found here. 

A Test bank is also available if the merchant needs to test PayPal, iDEAL, or other alternative payment methods. If a merchant wants a test account, please read more here.

Preconditions for the following test scenarios - ensure that you have:
  • Imported the Metadata_AltaPay.xml
    • Updated the ‘Custom Site Preferences’ with AltaPay user with API access rights
    • Added terminals for credit card and/or alternative payment
  • Items in the Genesis web shops
  • The payment method for cards connected with a terminal that is configured to receive cards. An alternative payment method must be connected to a terminal that accepts that payment method.

Successful card payment

  1. Add an item to the cart
  2. Click ‘View cart’
  3. When shopping cart is shown, click on ‘Checkout’
  4. Select either Guest checkout or login
    • If guest checkout
      1. Fill in the information
      2. Click ‘Continue’
      3. Shipping information is shown. Fill in remaining information
      4. Select ‘Credit card’ as payment method and click ‘Continue’
  5. A Check summary is shown. Verify the details and click ‘Submit order’
  6. The payment page appears. Ensure it is a payment page for card payments.
  7. Enter card details (use random numbers). Click ‘complete’.
  8. Verify that the summary page is shown with correct information and without any error message. Take a note of the order number.
  9. Go to Merchant tools > Ordering > Orders in the Business manager. Locate and select the order and verify that the order has been handled correctly - ‘Confirmation Status’ = confirmed.
  10. Login in to https://testgateway.altapaysecure.com and locate the order by the order number via the search box in the top right corner. Check that the amount corresponds with the information in Business manager and ensure that the status of the payment is ‘preauth’.

Failed card payment

  1. Add an item to the cart
  2. Click ‘View cart’
  3. When shopping cart is shown, click on ‘Checkout’
  4. Select either Guest checkout or login
    • If guest checkout
      1. Fill in the information
      2. Click ‘Continue’
      3. Shipping information is shown. Fill in remaining information
      4. Select ‘Credit card’ as payment method and click ‘Continue’
  5. A Check summary is shown. Verify the details and click ‘Submit order’
  6. The payment page appears. Ensure it is a payment page for card payments.
  7. Enter card details - use the following payment information:
    • Card number: 4180000000000566
    • Expire month: 05
    • Expire year: 2016
    • CVC: 444’
  8. Click on ‘complete’
  9. Ensure that the basket is shown with the message ‘Card Declined’. The merchant can change this error message and in most cases, this is preferred to give the customer a user-friendlier decline message.
  10. Go to: Merchant tools > Ordering > Orders in the Business manager. Locate and select the order and verify that the order has been handled correctly - ‘Order Status’ = failed. Take a note of the order number.
  11. Login in to https://testgateway.altapaysecure.com and locate the order by the order number via the search box in the top right corner. Ensure that the status of the order is ‘preauth_failed’.

3D Secure card payment

  1. Add an item to the cart
  2. Click ‘View cart’
  3. When shopping cart is shown, click on ‘Checkout’
  4. Select either Guest checkout or login
    • If guest checkout
      1. Fill in the information
      2. Click ‘Continue’
      3. Shipping information is shown. Fill in remaining information
      4. Select ‘Credit card’ as payment method and click ‘Continue’
  5. A Check summary is shown. Verify the details and click ‘Submit order’
  6. The payment page appears. Ensure it is a payment page for card payments.
  7. Enter card details - use the following payment information:
    • Card number: 4170000000000568
    • Expire month: 05
    • Expire year: 2016
    • CVC: 444
  8. Click ‘complete’. This will only work on the test gateway. In production, a real card with 3D secure enabled is required.
  9. The user is redirected to the issuing bank 3D Secure confirmation page. Enter the correct validation information. If you are testing against the test gateway, a mock-up 3D Secure page is shown. Click ‘Redirect’.
  10. Verify that the summary page is shown with correct information and without any error message. Take a note of the order number.
  11. Go to: Merchant tools > Ordering > Orders in the Business manager. Locate and select the order and verify that the order has been handled correctly - ‘Confirmation Status’ = confirmed.
  12. Login in to https://testgateway.altapaysecure.com and locate the order by the order number via the search box in the top right corner. Check that the amount corresponds with the information in Business manager and ensure that the status of the payment is ‘preauth’ and that ‘3D Secure result:’ is ‘Successful’.

3D Secure failed card payment

  1. Add an item to the cart
  2. Click ‘View cart’
  3. When shopping cart is shown, click on ‘Checkout’
  4. Select either Guest checkout or login
    • If guest checkout
      1. Fill in the information
      2. Click ‘Continue’
      3. Shipping information is shown. Fill in remaining information
      4. Select ‘Credit card’ as payment method and click ‘Continue’
  5. A Check summary is shown. Verify the details and click ‘Submit order’
  6. The payment page appears. Ensure it is a payment page for card payments.
  7. Enter card details - use the following payment information
    • Card number: 4170000000000568
    • Expire month: 05
    • Expire year: 2016
    • CVC: 444
  8. The user is redirected to the issuing bank 3D Secure confirmation page. Enter the correct validation information. If you are testing against the test gateway, a mock-up 3D Secure page is shown. Click ‘Redirect’.

  9. Ensure that the basket is shown with the message ‘Card Declined’. This error message can be changed by the merchant and in most cases, this is preferred to give the customer a more user friendly decline message.

  10. Go to: Merchant tools > Ordering > Orders in the Business manager. Locate and select the order and verify that the order has been handled correctly - ‘Order Status’ = failed. Take a note of the order number.

  11. Login in to https://testgateway.altapaysecure.com and Locate the order by the order number via the search box in the top right corner. Ensure that the status of the order is ‘preauth_failed’.

Successful alternative payment

  1. Add an item to the cart
  2. Click ‘View cart’
  3. When shopping cart is shown, click on ‘Checkout’
  4. Select either Guest checkout or login
    • If guest checkout
      1. Fill in the information
      2. Click ‘Continue’
      3. Shipping information is shown. Fill in remaining information
      4. Select preferred alternative payment method and click ‘Continue’
  1. A Check summary is shown. Check that the items correspond with what you have selected. Click on ‘Submit order’.
  2. Verify that the customer is redirected to the alternative payment provider webpage. Verify the pending payment.
  3. If you are testing against the test gateway a mock-up for bank and alternative payment solutions will be shown. If that is the case, click ‘Sign in’ (No credentials needed) and ‘Accept’.
  4. Verify that the summary page is shown with correct information and without any error message. Take a note of the order number.
  5. Go to: Merchant tools > Ordering > Orders in the Business manager. Locate and select the order and verify that the order has been handled correctly - ‘Confirmation Status’ = confirmed.
  6. Login in to https://testgateway.altapaysecure.com and locate the order by the order number via the search box in the top right corner.

    Check that the amount corresponds with the information in Business manager and ensure that the status of the payment is ‘preauth’ or ‘bank_payment_finalized’, depending on the acquirer.

Failed alternative payment (Customer cancel)

  1. Add an item to the cart
  2. Click ‘View cart’
  3. When shopping cart is shown, click on ‘Checkout’
  4. Verify that the customer is redirected to the alternative payment provider webpage. Verify the pending payment.
    If you are testing against the test gateway a mockup for bank and alternative payment solutions will be shown. If that is the case, click ‘Developer options’ and ‘Cancel’.
  5. Ensure that the basket is shown with the message ‘Cancelled by user’. The merchant can change the error message and in most cases this is preferred to give the customer a user-friendlier decline message.
  6. Go to: Merchant tools > Ordering > Orders in the Business manager. Locate and select the order and verify that the order has been handled correctly - ‘Order Status’ = failed. Take a note of the order number.
  7. Login in to https://testgateway.altapaysecure.com and locate the order by the order number via the search box in the top right corner. Check that the amount corresponds with the information in Business manager and ensure that the status of the payment is ‘epayment_cancelled’ or ‘preauth_failed’ depending on the acquirer.

Failed alternative payment

  1. Add an item to the cart
  2. Click ‘View cart’
  3. When shopping cart is shown, click on ‘Checkout’
  4. Verify that the customer is redirected to the alternative payment provider webpage. Verify the pending payment.
    If you are testing against the test gateway a mockup for bank and alternative payment solutions will be shown. If that is the case, click ‘Developer options’ and ‘Declined’.
  5. Ensure that the basket is shown with the message ‘Declined’. The merchant can change this error message and in most cases this is preferred to give the customer a user-friendlier decline message.
  6. Go to: Merchant tools > Ordering > Orders in the Business manager. Locate and select the order and verify that the order has been handled correctly - ‘Order Status’ = failed. Take a note of the order number.
  7. Login in to https://testgateway.altapaysecure.com and locate the order by the order number via the search box in the top right corner. Check that the amount corresponds with the information in Business manager and ensure that the status of the payment is ‘epayment_cancelled’ or ‘preauth_failed’ depending on the acquirer.

Successful alternative payment notification

  1. Add an item to the cart
  2. Click ‘View cart’
  3. When shopping cart is shown, click on ‘Checkout’
  4. Verify that the customer is redirected to the alternative payment provider webpage. Verify the pending payment.
    If you are testing against the test gateway a mock-up for bank and alternative payment solutions will be shown. If that is the case, click ‘Developer options’ and ‘Open (Opens in a new window)’. Do not close the test bank page.
  5. Verify that a new window appear in the browser and contain a summary page with correct information. Also verify that a message indicating that the payment has not been confirmed is shown. Take a note of the order number.
  6. Go to: Merchant tools > Ordering > Orders in the Business manager. Locate and select the order and verify that the order has been handled correctly - ‘Order Status’ = Not confirmed.
  7. Go back to the test bank page and click ‘Call success notification now’. It can take a couple of minutes before the actual notification is triggered via the API.
  8. Repeat step 6 and verify that the status has changed from ‘Not confirmed’ to ‘Confirmed’.

Failed alternative payment notification

  1. Add an item to the cart
  2. Click ‘View cart’
  3. When shopping cart is shown, click on ‘Checkout’
  4. Verify that the customer is redirected to the alternative payment provider webpage. Verify the pending payment.
    If you are testing against the test gateway a mock-up for bank and alternative payment solutions will be shown. If that is the case, click ‘Developer options’ and ‘Open (Opens in a new window)’. Do not close the test bank page.
  5. Verify that a new window appear in the browser and contain a summary page with correct information. Also verify that a message indicating that the payment has not been confirmed is shown. Take a note of the order number.
  6. Go to: Merchant tools > Ordering > Orders in the Business manager. Locate and select the order and verify that the order has been handled correctly - ‘Order Status’ = Not confirmed.
  7. Go back to the test bank page and click ‘Call declined notification now’.

    It can take a couple of minutes before the actual notification is triggered via the API.

  8. Repeat step 6 and verify that the status has changed from ‘Not confirmed’ to ‘Cancelled’.

Fraud checking (accepted credit card)

  1. Add an item to the cart
  2. Click ‘View cart’
  3. When shopping cart is shown, click on ‘Checkout’
  4. Select either Guest checkout or login
    • If guest checkout
      1. Fill in the information
      2. Click ‘Continue’
      3. Shipping information is shown. Fill in remaining information
      4. Select ‘Credit card’ as payment method and click ‘Continue’
  5. A Check summary is shown. Verify the details and click ‘Submit order’
  6. The payment page appears. Ensure it is a payment page for card payments.
  7. Use a credit card number enabled for fraud checking and that returns the ‘Accept’ status, for example: 4170000000000006
  8. Verify that the summary page is shown with the correct information and without any error messages. Take a note of the order number.
  9. Go to: Merchant tools > Ordering > Orders in the Business manager. Locate and select the order and verify that the order has been handled correctly: ‘Confirmation Status’ = confirmed.
  10. Login in to https://testgateway.altapaysecure.com and locate the order by the order number via the search box in the top right corner. Check that the amount corresponds with the information in Business manager and ensure that the status of the payment is ‘preauth’.
  11. Repeat with a credit card that returns the ‘Challenge’ status, for example: 5250000000000121
  12. Repeat with a credit card that returns the ‘Unknown’ status, for example: 5110000000000113

Fraud checking (denied credit card)

  1. Add an item to the cart
  2. Click ‘View cart’
  3. When shopping cart is shown, click on ‘Checkout’
  4. Select either Guest checkout or login
    • If guest checkout
      1. Fill in the information
      2. Click ‘Continue’
      3. Shipping information is shown. Fill in remaining information
      4. Select ‘Credit card’ as payment method and click ‘Continue’
  5. A Check summary is shown. Verify the details and click ‘Submit order’
  6. The payment page appears. Ensure it is a payment page for card payments.
  7. Use a credit card number enabled for fraud checking and that returns the ‘Deny’ status, for example: 4170000000000105.
  8. Verify that the user was redirected to the Billing page, and that the error message ‘Card declined’ is shown.
  9. Go to: Merchant tools > Ordering > Orders in the Business manager. Locate and select the order and verify that the order has been handled correctly:

    • The status should be ‘Failed‘
    • Confirmation Status should be ‘Not confirmed’
  10. Login in to https://testgateway.altapaysecure.com and locate the order by the order number via the search box in the top right corner. Check that the amount corresponds with the information in Business manager and ensure that the status of the payment is ‘preauth’.