Magento

PowerBoard Magento Extension

This document will guide you on how to install PowerBoard extension on your Magento store.

How can I get PowerBoard on my Magento store?

1

Install the PowerBoard Magento Extension

2

Configure the extension

3

Test & Go-Live

❗️

Pre-requisites

  1. PowerBoard Pre-Prod merchant account if testing in pre-prod.
  2. PowerBoard Prod merchant account for your prod store.

Please reach out to your CBA contact to obtain your merchant account.


Compatibility

The PowerBoard Magento extension is compatible with the following versions:

MagentoVersions
Magento Open Source2.4.4 | 2.4.5 | 2.4.6
Magento On Premise2.4.4 | 2.4.5 | 2.4.6
Adobe Commerce Cloud2.4.4 | 2.4.5 | 2.4.6

Installation

🚧

Note

It’s recommended that you first install the PowerBoard module in a development Magento environment that is an exact copy of your live store. After you have verified everything is working properly on your development environment, you can safely install the module in your live environment.

Backup before installation

Backup your Magento store database and files before installing the module.
You can do this via SSH or via the account dashboard of your hosting provider.

Install from Adobe Marketplace

Adobe Marketplace Link

Install the module via Composer

Step 1. Run composer command to require the package:

composer require paydock/magento2-powerboard

Step 2. Setup and Deployment

php bin/magento setup:upgrade

Configuration

  1. Login to the Magento environment administration portal.
  2. Go to Stores > Configuration
  3. Go to Sales > Payment Methods
configuration

PowerBoard General Settings

powerboard-settings
Setting NameDescription
Enabled (Yes/No)Enable or disable PowerBoard from being available both on the frontend (customer facing) and backend (merchant facing).
Environment (pre-production or production)The PowerBoard environment.
Public KeyObtained from PowerBoard Merchant Portal > My Company > API and Security
Secret KeyObtained from PowerBoard Merchant Portal > My Company > API and Security
CSSAdditional styling that will be applied to the PowerBoard widgets/payment form in the checkout.

Default:
{"background_color": "#ffffff"}

Credit Card Configuration

creditcard-config
Setting NameDescription
Enabled (Yes/No)Enable or disable Credit Card as a payment option via PowerBoard.
TitleThe title that appears for this payment option at checkout.
Gateway IDGateway ID for Credit Card obtained from PowerBoard Merchant Portal > Services. (Required)
Credit Card TypeChoose which of the Credit Card type scheme logos will be displayed within the Credit Card payment option.
Enable for Magento Backend (yes/no)Enable the use of this payment option to create orders in backend (merchant facing) system.
Sort OrderPosition of the payment selector within the list of PowerBoard payment methods (lowest number first)
Payment ActionSelect how the Credit Card will be processed:
- Authorise Only
- Authorise and Capture - Select this option for PowerBoard
3DSEnabling this setting will enable 3D Secure in the checkout workflow.
Direct ChargeEnable Credit Card to be processed via Direct Charge.
Note - Direct Charge can only be used in combination with the Authorise and Capture Payment Action.
Payment from Applicable CountriesSelect the countries allowed to use this payment.
Save Card (yes/no)Allow logged in customers to save their credit card for later use.
CSS for Submit ButtonAdditional styling for the credit card form submit button.

Default:
{"font_weight": "500", "line_height": "2.8rem", "font_size": "1.8rem", "border_radius": "3px"}
CSS for LabelAdditional styling for the credit card form labels.

Default:
{"font_weight": "400"}
CSS for InputAdditional styling for the credit card form fields.

Default:
{"font_size": "16px", "height": "32px", "border": "1px solid #c2c2c2", "border_radius": "1px"}

PayPal Configuration

❗️

Important

You must setup your PayPal account in PowerBoard. Follow instruction here to add a PayPal service.

paypal-config
Setting NameDescription
Enabled (yes/no)Enable or disable PayPal as a payment option via PowerBoard.
TitleThe title that appears for this payment option at checkout.
Gateway IDGateway ID for Credit Card obtained from PowerBoard Merchant Portal > Services. (Required)
Enable Pay Later (yes/no)Enable or disable PayPal Pay Later feature on payment.
Style LayoutHow the buttons are aligned (Horizontal or Vertical) when there are more that one button.
Style ColorDisplay colour of payment buttons
PayPal’s recommendation in priority:

1. gold
2. blue
3. silver
4. white
5. black
Style ShapeDisplay shape of payment buttons. Paypal’s recommendation in priority:

1. rect
2. pill
Style Has Tagline (yes/no)Choose whether to display the buttons with a tagline “The safer, easier way to pay” underneath.
Style LabelDisplay Label text for button. Options includes:

  • PayPal (Default)

  • Checkout

  • Buynow

  • Pay

Sort OrderPosition of the payment selector within the list of PowerBoard payment methods (lowest number first)

Configuration for Google Pay / Apple Pay / Afterpay / Zip

❗️

Important

You must have Afterpay and Zip service setup in your PowerBoard Portal. To add a service please follow this guide.

For Google Pay and Apple Pay, you must enable these services by following these guides: Google Pay | Apple Pay

apm-config
Setting NameDescription
Enabled (yes/no)Enable or disable as a payment option via PowerBoard.
TitleThe title that appears for this payment option at checkout.
Gateway IDGateway ID obtained from PowerBoard Merchant Portal for respective service.

Magento Currency Configuration

Within Stores > Configuration, click on General heading to see the General configuration sections on the left hand menu. Click on the Currency Setup menu and select Allowed Currencies.

❗️

Make sure currency is set to Australian Dollar

currency-setup

Checkout View

Once you have enabled all Payment Methods in PowerBoard configuration, your checkout will appear as below:

checkout-view

Magento Clear Cache

To ensure that configuration changes will apply immediately, please make sure to clear Magento Cache after each update of configuration:

Go to System > Cache Management and click on Flush Magento Cache.

cache-flush

Update the module via Composer

composer update paydock/magento2-powerboard
  
bin/magento setup:upgrade

Uninstall extension

Run composer command to remove the package:

composer remove paydock/magento2-powerboard
  
bin/magento setup:upgrade

How to Create Admin Order using Credit Card

On the Sales > Orders page, click the Create New Order button

create-order

Then either select an existing customer on the table or Create New Customer with the button on
the top right.

createneworder

Click on Add Products to see a list of products that can be added to the order
After selecting the product, click on Add Selected Product to Order.

🚧

Note

If the new products do not appear at this point, please try refreshing the page.

addproducts addSelectedProducts

🚧

Note

If the new products do not appear at this point, please try refreshing the page, this seems to be a Magento core glitch.

After adding in product into your order, please select Credit Card as the Payment Method

creditCard

Fill in the credit card details before submitting the order


Refund an Order

❗️

Important

For an online (API call) refund, a Credit Memo has to be created against the invoice (from the invoice screen) and not from the order screen.

In the Order View in the backend, click on the Invoice button on the left.

Open the invoice with the View button.

Click on the Credit Memo button

CreditMemo

Refund Options:

Within the Credit Memo, there are a few ways here to adjust the refund:

  • Leaving everything the same will command a full refund including shipment.
  • On the items table, the quantity of each item to refund can be adjusted (make sure the Update Qty button is click after changing the number), and the Return to Stock box can be checked to return the quantity amount back to inventory.

In the refund totals table at the bottom:

  • Refund Shipping amount can adjust
  • Adjustment Refund can further increase the refund amount (adds to total to be refund)
  • Adjustment Fee can decrease the amount of the refund as a fee (subtracts from the total)
  • Click the Update Total button after adjusting the above. Please note though that the total refund amount cannot exceed the Invoice total.

To confirm and make the online refund. click on the refund button at the bottom.

The order will be updated once the refund is completed:

refundDone

What’s Next

Did this article help you? Please use the feedback feature so we can improve our documentation.