Fix payment with standard card button gateway + shipping callback

This commit is contained in:
Narek Zakarian 2024-05-21 20:48:13 +04:00
parent 06d80325c9
commit 43f938f0a4
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7
2 changed files with 2 additions and 5 deletions

View file

@ -94,10 +94,7 @@ class Renderer {
return {
style,
...contextConfig,
onClick: (data, actions) => {
venmoButtonClicked = data.fundingSource === 'venmo'
this.onSmartButtonClick
},
onClick: this.onSmartButtonClick,
onInit: (data, actions) => {
if (this.onSmartButtonsInit) {
this.onSmartButtonsInit(data, actions);