diff --git a/plugin.json b/plugin.json index 80e65f4..7780c26 100644 --- a/plugin.json +++ b/plugin.json @@ -5,7 +5,7 @@ "provider": "FriendsOfBotble\\PhonePe\\Providers\\PhonePeServiceProvider", "author": "Friends Of Botble", "url": "https://friendsofbotble.com", - "version": "1.0.3", + "version": "1.0.4", "description": "PhonePe payment gateway for Botble scripts", "minimum_core_version": "7.3.0", "require": [ diff --git a/resources/views/instructions.blade.php b/resources/views/instructions.blade.php new file mode 100644 index 0000000..715c674 --- /dev/null +++ b/resources/views/instructions.blade.php @@ -0,0 +1,22 @@ +
    +
  1. +

    + + {{ __('Register an account on :name', ['name' => 'PhonePe']) }} + +

    +
  2. +
  3. +

    + {{ __('After registration at :name, you will have Public & Secret keys', ['name' => 'PhonePe']) }} +

    +
  4. +
  5. +

    + {{ __('Enter Public, Secret into the box in right hand') }} +

    +
  6. +
diff --git a/src/Forms/PhonePePaymentMethodForm.php b/src/Forms/PhonePePaymentMethodForm.php index 5e6377b..5bb6ac3 100644 --- a/src/Forms/PhonePePaymentMethodForm.php +++ b/src/Forms/PhonePePaymentMethodForm.php @@ -24,7 +24,7 @@ public function setup(): void ->paymentDescription(__('Customer can buy product and pay directly using Visa, Credit card via :name', ['name' => 'PhonePe'])) ->paymentLogo(url('vendor/core/plugins/fob-phonepe/images/phonepe.png')) ->paymentUrl('https://www.phonepe.com') - ->paymentInstructions(view('plugins/paystack::instructions')->render()) + ->paymentInstructions(view('plugins/fob-phonepe::instructions')->render()) ->add( get_payment_setting_key('merchant_id', PhonePePayment::getId()), TextField::class,