Payment Processing
Payment Configurations
Cybersource Configuration
4min
after selecting cybersource from the payments menu, from the choose a config dropdown, click on create new config the following information must be entered to activate cybersource on your storefront configuration name this acts as a nickname for this setup within upstart commerce choose a clear name that identifies your store and environment (e g , "\[your store name] cybersource test") enabled this is a simple on/off switch toggle “on” to allow customers to use cybersource for payments on your storefront sandbox this is a simulated environment for testing purposes use this to test your payment processing setup before making it available to real customers no actual money is exchanged in sandbox mode production choose this option when your store is ready to accept real customer payments using cybersource key file password this password protects your cybersource key file, which is a crucial security element think of it like a lock on a safe containing your account details keep this password confidential merchant id this unique identifier is provided by cybersource when you create your merchant account it tells cybersource which account the transactions belong to key file this is a digital certificate file, often with a p12 extension it acts like an electronic id card for your cybersource account, allowing upstart commerce to securely communicate with cybersource you should have obtained this file from your cybersource account dashboard additional considerations for secure communication between your website and cybersource, you'll need a valid ssl certificate installed on your website this ensures sensitive information like credit card details is encrypted during transmission avoid storing your key file password directly within the configuration for better security consider using secure credential management solutions offered by upstart commerce or your hosting platform by following these steps and providing the required information, you can successfully configure cybersource payment processing in upstart commerce and start accepting secure online payments google pay integration upstart commerce has integrated google pay as a payment option, leveraging the cybersource payment gateway this integration allows you to offer your customers a seamless and secure payment experience using google pay how to add google pay to your online store turn on google pay in your payment settings log into your upstart account find the cybersource settings look for the google pay option and switch it on add the google pay button to your website you'll need to use google's special code (called a javascript library) to do this a complete guide for this step is available here integrate with set payment the second step is to integrate the set payment cart api, which can be found here you will need to use the exec setgooglecspaymentexec this exec has a single field token this api needs to be invoked in the onpaymentauthorized callback, and you should set the token after base64 encoding it