You can change the labels of the various elements in the Copy and Pay widget.


You should be able to do this with the Copy and Pay API:


We have a label function that will let you swap the labels for the various elements. The complete list of available labels is here:


https://peachpayments.docs.oppwa.com/tutorials/integration-guide/widget-api#labels


You can include the following code snippet above the <form> tag where you are embedding the widget:


<script type="text/javascript">
var wpwlOptions = {
labels: {cardHolder: "Name on card", cvv: "Security code", submit: "Register"},
brandDetection: "true"
}
</script>


Updated to this article - change of endpoint:

 

Environment

Current Domain

New Domain

Production

https://oppwa.com/

https://eu-prod.oppwa.com/

Customer Test (Staging)

https://test.oppwa.com/

https://eu-test.oppwa.com/


Once you have successfully completed the steps outlined above please ensure you have checked all your API calls to have updated/are using the new endpoint


FAQ’s around the Endpoint Change:

  • Are credit card tokens shared between oppwa.com and eu-prod.oppwa.com?

    • Yes, this will have no impact on any tokens that have been created or any new tokens.

  • Is the same data shared between the two endpoints? ie. If we did a card authorisation on oppwa.com, would the capture succeed on eu-prod.oppwa.com? -

    • Yes, the same data is shared and available. 

  • With regards to transactions we see on BIP, is this data also shared between the two?

    • Yes, it’s the same BIP and Console, there is no difference. 

Deadline - End of June 2022 the current endpoint oppwa.com will be deactivated/redundant

https://peachpayments.freshdesk.com/a/solutions/articles/47001213445?portalId=47000077094