3 min read • Updated 2 months ago
CyberSource Secure Acceptance Web/Mobile
- Features
- 3-D Secure
- Multi-Currency
Subscriptions are not supported with CyberSource SA Web/Mobile at this time. If you intend to sell subscriptions with your FoxyCart store, you will need to make use of another payment gateway.
Setting Up CyberSource Secure Acceptance Web/Mobile for FoxyCart
Important: Ensure all the following steps are completed for your CyberSource account, as without it transactions could fail to complete correctly.
Login to the CyberSource Business Center: https://ebc.cybersource.com/ebc/login/Login.do
Navigate to Tools & Settings → Secure Acceptance → Profiles
Create a new profile. If you already have a profile set up, open it and continue to the next step.
From within your profile, copy the Profile ID found towards the top of the page into the Profile ID field in FoxyCart administration payment settings section.
Go to the Payment Settings section and select the card types and currencies you need.
Go to the Notifications settings and set the Merchant Post URL to be
https://YOUR-FOXYCART-STORE-DOMAIN/ipn.php
- changing it to match your own FoxyCart store domain. For example, if your FoxyCart store domain wasexample.foxycart.com
, you would set the Merchant Post URL to behttps://example.foxycart.com/ipn.php
. If it was a custom subdomain likesecure.example.com
the URL would behttps://secure.example.com/ipn.php
.If you're letting FoxyCart send your receipts for you, you'll also want to ensure the “Email Receipt To Customer” checkbox is unchecked.In the Security section, create a new key. If you already have an existing key, open it and proceed to the next step.
Looking at your key, copy the Access Key and Secret Key into the matching fields within the payments section of the FoxyCart administration.
From the Profile section, click the “Promote to Active” button in the top right hand corner to make it active.
Testing
Obtaining A Test Account
Contact CyberSource Secure Acceptance Web/Mobile for info.
Test Card Numbers
Visa:
4111 1111 1111 1111
MasterCard:
5555 5555 5555 4444
American Express:
3782 822463 10005
Discover:
6011 1111 1111 1117
JCB:
3566 1111 1111 1113
Diners Club:
3800 0000 0000 06
Maestro International:
6000 3400 0000 9859
Maestro Domestic:
6759 1800 0000 5546
To simulate processor-specific error messages, choose your payment processor here: http://www.cybersource.com/developers/test_and_manage/testing/legacy_scmp_api/
Troubleshooting & Interpreting Response Codes
Contact CyberSource Secure Acceptance Web/Mobile for info.
Important Notes and Caveats
Possible Action: Datafeed Handling
At the time of the customer completing the transaction - we don't necessarily know whether the transaction was completed yet or not. We instead rely on a notification from the gateway after the checkout has been completed to confirm whether the transaction was approved or not. To handle this, transactions are initially marked as pending, and when we get a confirmation from the gateway on the result of the transaction, we update it accordingly. Each time the status changes, a datafeed will be sent to your endpoint if configured with the transaction details and the status
node will be present.
The status
node can contain one of three different values: pending
, approved
or rejected
. Depending on the types of actions you're needing to perform at your datafeed endpoint, you need to make sure the appropriate status value is present first.