Skip to content

Commit

Permalink
PAYOSWXP-106: payla: fix typo in dfp-snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
rommelfreddy committed Jun 12, 2023
1 parent cee83f6 commit 14594c3
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 57 deletions.
116 changes: 65 additions & 51 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,50 +62,50 @@ Maintenance
# 2.1.0

New Features

* new payment method: PAYONE safe invoice
* new payment method: Trustly
* added optional submission of order number in the "narrative_text" parameter. This will show the shopware order number on the customer's bank statement or payment info (depending on payment method). If left out, our internal txid is shown.

Bugfix(es)

* fixed payone_allow_refund and payone_allow_capture custom fields to better reflect the current status of an order. This can help when issuing captures and debits via third party systems

Maintenance

* tested with Shopware 6.3.4.1

# 2.2.0

New Features

* compatibility with Shopware 6.4.x

Bugfixes

* fixed API Test for paydirekt
* always provide shipping address for paypal payments
* fixed labels for PAYONE status mapping (finally!)
* fixed labels for PAYONE status mapping (finally!)

Maintenance

* tested with Shop version 6.4.1.0
* better error message translations

# 2.3.0

New Features

* new PAYONE permissions management
* status mapping per payment method possible

Bugfixes

* fix for unlock the buy now button
* PayPal Express: telephone number not a mandatory field
* PayPal Express: telephone number not a mandatory field

Maintenance

* Shopware 6.4.3.1 compatibility
* massive refactoring effort
* Elasticsearch compatibility
Expand All @@ -120,7 +120,7 @@ Bugfix

Bugfix

* transaction status transmission of txstatus "paid"
* transaction status transmission of txstatus "paid"

Maintenance

Expand Down Expand Up @@ -185,12 +185,12 @@ Maintenance
# 3.1.0

New Features

* New payment method: Open Invoice
* Add checkbox for credit card payments to save or remove payment data

Bugfixes

* remove capturemode param if completed
* update ZeroAmountCartValidator
* always set data protection check
Expand All @@ -205,19 +205,19 @@ Shopware 6.4.10.0
# 3.2.0

New Features

* New payment method: Bancontact
* Added bankgrouptypes for iDEAL
* Add scheduled task to clean up redirect table
* Add due date for invoice on standard invoice

Bugfixes

* added shipping costs to line items
* fixed removal of secure invoice

Maintenance

* Changed renaming of payment methods
* Changed PAYONE Logo
* tested with 6.4.12
Expand All @@ -238,33 +238,33 @@ Maintenance
# 4.0.0

New Features

* Shopware 6.3 support removed
* General code optimizations implemented

* Important change: The transaction data of PAYONE payments was
previously always stored in the additional fields of the orders.
Since the additional fields are stored as JSON in the database,
searching the transaction data was not very performant for large
amounts of data. Therefore, an entity extension was set up for
the transaction data so that the data is stored in an extra database
table that can be searched much more performantly. During the plugin
update, the old additional fields are migrated to the entity extension
and then the additional fields are deleted. If you have used our
additional fields in your own code or for example in the synchronization
* Important change: The transaction data of PAYONE payments was
previously always stored in the additional fields of the orders.
Since the additional fields are stored as JSON in the database,
searching the transaction data was not very performant for large
amounts of data. Therefore, an entity extension was set up for
the transaction data so that the data is stored in an extra database
table that can be searched much more performantly. During the plugin
update, the old additional fields are migrated to the entity extension
and then the additional fields are deleted. If you have used our
additional fields in your own code or for example in the synchronization
to external systems, you have to adapt this to the new entity extension.

Bugfix

* Remove deletion of saved credit cards

Maintenance

* Remove BIC from debit
* Tested with 6.4.16

### Read transaction data ###
```
```
$criteria = (new Criteria())
->addAssociation(PayonePaymentOrderTransactionExtension::NAME)
->addFilter(new EqualsFilter(PayonePaymentOrderTransactionExtension::NAME . '.transactionId', $payoneTransactionId));
Expand Down Expand Up @@ -292,46 +292,60 @@ $this->transactionRepository->upsert([[
# 4.1.0

New Features

* New payment method: Klarna Rechnung
* New payment method: Klarna Sofort
* New payment method: Klarna Ratenkauf
* New payment method: P24
* The credit card - card type is now displayed in the backend at the order details

Bugfixes

* Fixed redirect routing when using multi-saleschannels - Thanks to @patchee500
* Fixed Unzer B2B
* Fixed Refund with wrong tx_id

Maintenance

* tested with 6.4.17.1

# 4.2.0

New Features

* New payment method: PAYONE Secured Invoice
* New payment method: PAYONE Secured Installment
* New payment method: PAYONE Secured Direct Debit
* New payment method: PAYONE WeChat Pay
* New payment method: PAYONE Postfinance Card
* New payment method: PAYONE Postfinance E-Finance
* New payment method: PAYONE AliPay
* Opt-in for automatic capture
* Opt-in for automatic capture

Bugfixes

* fixed reference problem in paydirekt
* fixed capture problem in iDEAL
* fixed data-type-casting in migration
* fixed support for vouchers
* fixed support for vouchers

Maintenance

* improve payment filter technology
* removed birthday field from open invoice
* update iDEAL issuer list
* tested with 6.4.20

# 4.2.1

New Features

*

Bugfixes

* Payla: fix typo in deviceFingerPrint

Maintenance

*
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public function getSupportedPaymentHandlerClasses(): array
public function getDeviceIdentSnippet(string $deviceIdentToken, SalesChannelContext $salesChannelContext): string
{
return sprintf(
'<script id="paylaDcs" type="text/javascript" src="<https://d.payla.io/dcs/%1$s/%2$s/dcs.js"></script>
'<script id="paylaDcs" type="text/javascript" src="https://d.payla.io/dcs/%1$s/%2$s/dcs.js"></script>
<script>
var paylaDcsT = paylaDcs.init("%3$s", "%4$s");
</script>
<link id="paylaDcsCss" type="text/css" rel="stylesheet" href="<https://d.payla.io/dcs/dcs.css?st=%4$s&pi=%1$s&psi=%2$s&e=%3$s">',
<link id="paylaDcsCss" type="text/css" rel="stylesheet" href="https://d.payla.io/dcs/dcs.css?st=%4$s&pi=%1$s&psi=%2$s&e=%3$s">',
self::PAYLA_PARTNER_ID,
$this->getPartnerMerchantId($salesChannelContext),
$this->getEnvironment($salesChannelContext),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ protected function getDeviceFingerprintService(SessionInterface $session): Abstr

protected function getExpectedSnippet(string $token): string
{
return '<script id="paylaDcs" type="text/javascript" src="<https://d.payla.io/dcs/e7yeryF2of8X/the-merchant-id/dcs.js"></script>
return '<script id="paylaDcs" type="text/javascript" src="https://d.payla.io/dcs/e7yeryF2of8X/the-merchant-id/dcs.js"></script>
<script>
var paylaDcsT = paylaDcs.init("t", "' . $token . '");
</script>
<link id="paylaDcsCss" type="text/css" rel="stylesheet" href="<https://d.payla.io/dcs/dcs.css?st=' . $token . '&pi=e7yeryF2of8X&psi=the-merchant-id&e=t">';
<link id="paylaDcsCss" type="text/css" rel="stylesheet" href="https://d.payla.io/dcs/dcs.css?st=' . $token . '&pi=e7yeryF2of8X&psi=the-merchant-id&e=t">';
}
}

0 comments on commit 14594c3

Please sign in to comment.