Coder Social home page Coder Social logo

laravel-spgateway's People

Contributors

henrysource avatar jeremy5189 avatar s950329 avatar unohung avatar yutangshi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

laravel-spgateway's Issues

發票手機載具發送問題

我看文件

CarrierType   String 0 / 1 1  
CarrierNum   String 0 / 1 0  

�這邊是不是怪怪的

我照官方文件送出他們需要的格式 還是報格式錯誤

關於 MPG.php

請問這個參數的作用是?

                'CREDITAE'        => $params['CREDITAE'] ?? null,

使用 config:cache 後會無法讀取 env('SPGATEWAY_MERCHANT_ID')

MPG.php 裡面使用

$this->postDataEncrypted = [
     'MerchantID' => env('SPGATEWAY_MERCHANT_ID'),
     'TradeInfo'  => $tradeInfo,
     'TradeSha'   => $tradeSha,
     'Version'    => '1.4',
];

當使用 php artisan config:cache 後,會因為沒有使用 config() 函數而讀取不到商店 ID

建議在這邊改用 config('spgateway.mpg.MerchantID')

然後強迫使用

php artisan vendor:publish --provider="LeoChien\Spgateway\SpgatewayServiceProvider"

發送的問題

在 Libraries/Helpers.php 出現
沒有 str_random() 這個 function
我將它改成
use Illuminate\Support\Str;
Str::random(6)

這樣來避免錯誤發生

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.