Skip to content

Commit 06dcbd2

Browse files
committed
AC-2901:Vault/Stored Payment Methods are not saved per store
1 parent 5807cd9 commit 06dcbd2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/code/Magento/Vault/etc/db_schema.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
comment="Entity ID"/>
1313
<column xsi:type="int" name="customer_id" unsigned="true" nullable="true" identity="false"
1414
comment="Customer ID"/>
15+
<column xsi:type="int" name="website_id" unsigned="true" nullable="true" identity="false" comment="Website ID"/>
1516
<column xsi:type="varchar" name="public_hash" nullable="false" length="128"
1617
comment="Hash code for using on frontend"/>
1718
<column xsi:type="varchar" name="payment_method_code" nullable="false" length="128"

app/code/Magento/Vault/etc/db_schema_whitelist.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"gateway_token": true,
1212
"details": true,
1313
"is_active": true,
14-
"is_visible": true
14+
"is_visible": true,
15+
"website_id": true
1516
},
1617
"constraint": {
1718
"PRIMARY": true,

0 commit comments

Comments
 (0)