-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(payment): introduce new type of receive for proof of the payment…
… via WhatsApp Introduce a new feature to facilitate proof of payment submission by customers. This enhancement adds a new type of receive for proof of the payment. Now, customers can conveniently submit proof of payment by sending it through WhatsApp to the store.
- Loading branch information
1 parent
dd34aa4
commit 5b8eb80
Showing
7 changed files
with
93 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
namespace GFNL\PixQrCode\Model\Adminhtml\System\Config\Source; | ||
|
||
use Magento\Framework\Option\ArrayInterface; | ||
|
||
class TypeProofPayment implements ArrayInterface | ||
{ | ||
|
||
/** | ||
* @inheritDoc | ||
*/ | ||
public function toOptionArray() | ||
{ | ||
$options = [ | ||
"by_whatsapp" => "By Whatsapp", | ||
"by_email" => "By E-mail" | ||
]; | ||
|
||
return $options; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters